Class ConcatenateIndexFiles
First argument on command line to call this action is "concatenateIndexFiles"
NOTE: This code was last tested on 2016 October 10. Both tests passed.
Inherited Members
Namespace: AnalysisPrograms
Assembly: AnalysisPrograms.dll
Syntax
public static class ConcatenateIndexFiles
Fields
| Improve this Doc View SourceCommandName
Declaration
public const string CommandName = "ConcatenateIndexFiles"
Field Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceAddTidalInfo(Image<Rgb24>, SunAndMoon.SunMoonTides[], DateTimeOffset)
Declaration
public static void AddTidalInfo(Image<Rgb24> image, SunAndMoon.SunMoonTides[] tidalInfo, DateTimeOffset dto)
Parameters
Type | Name | Description |
---|---|---|
Six |
image | |
Sun |
tidalInfo | |
Date |
dto |
ConcatenateAcousticEventFiles(DirectoryInfo[], String, DirectoryInfo, String)
Declaration
public static void ConcatenateAcousticEventFiles(DirectoryInfo[] dataDirs, string pattern, DirectoryInfo outputDirectory, string opFileStem)
Parameters
Type | Name | Description |
---|---|---|
Directory |
dataDirs | |
String | pattern | |
Directory |
outputDirectory | |
String | opFileStem |
ConcatenateRibbonImages(DirectoryInfo[], String, DirectoryInfo, String, String, SunAndMoon.SunMoonTides[])
This method is designed only to read in Spectrogram ribbons for Georgia marine recordings. Used to prepare images for Aaron Rice.
Declaration
public static void ConcatenateRibbonImages(DirectoryInfo[] dataDirs, string pattern, DirectoryInfo outputDirectory, string opFileStem, string title, SunAndMoon.SunMoonTides[] tidalInfo = null)
Parameters
Type | Name | Description |
---|---|---|
Directory |
dataDirs | |
String | pattern | |
Directory |
outputDirectory | |
String | opFileStem | |
String | title | |
Sun |
tidalInfo |
ConvertEventsToSummaryIndices(List<String>)
Declaration
public static double[] ConvertEventsToSummaryIndices(List<string> events)
Parameters
Returns
Type | Description |
---|---|
Double[] |
Execute(ConcatenateIndexFiles.Arguments)
Concatenation is designed only for the output from a "Towsey.Acoustic" analysis.
Declaration
public static void Execute(ConcatenateIndexFiles.Arguments arguments)
Parameters
Type | Name | Description |
---|---|---|
Concatenate |
arguments |
TESTMETHOD_ConcatenateIndexFilesTest1()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016. This tests concatenation when ConcatenateEverythingYouCanLayYourHandsOn = true This test was set up October 2016. The test was transfered to this separate TESTMETHOD in April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest1()
TESTMETHOD_ConcatenateIndexFilesTest2()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016. TEST 2: Do test of CONCATENATE A 24 hour BLOCK of DATA That is, ConcatenateEverythingYouCanLayYourHandsOn = false This test was set up October 2016. The test was transfered to this separate TESTMETHOD in April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest2()
TESTMETHOD_ConcatenateIndexFilesTest3()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016. TEST 3: Do test of CONCATENATE A 24 hour BLOCK of DATA That is, ConcatenateEverythingYouCanLayYourHandsOn = false HOWEVER, NOTE that the start and end dates are set = null. In this situation the default behaviour is to concatenate the earliest to the last dates found in 24 hour blocks. This test was set up October 2016. The test was transfered to this separate TESTMETHOD in April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest3()
TESTMETHOD_ConcatenateIndexFilesTest4()
Test data derived from ZuZana's INDONESIAN RECORDINGS, recording site 2. Obtained July 2016. This tests concatenation when ConcatenateEverythingYouCanLayYourHandsOn = true It works with a reduced data set that will be used for UNIT TESTING, 13th April 2017.
Declaration
public static void TESTMETHOD_ConcatenateIndexFilesTest4()
WriteSpectralIndexFiles(DirectoryInfo, String, String, Dictionary<String, Double[,]>)
Declaration
public static List<FileInfo> WriteSpectralIndexFiles(DirectoryInfo destination, string fileNameBase, string identifier, Dictionary<string, double[, ]> results)
Parameters
Type | Name | Description |
---|---|---|
Directory |
destination | |
String | fileNameBase | |
String | identifier | |
Dictionary<String, Double[,]> | results |
Returns
| Improve this Doc View SourceWriteSummaryIndexFile(DirectoryInfo, String, String, IEnumerable<SummaryIndexValues>)
Declaration
public static void WriteSummaryIndexFile(DirectoryInfo destination, string baseName, string identifier, IEnumerable<SummaryIndexValues> summaryIndices)
Parameters
Type | Name | Description |
---|---|---|
Directory |
destination | |
String | baseName | |
String | identifier | |
IEnumerable<Summary |
summaryIndices |