Exporting single target TS frequency distribution analyses
The frequency distribution of the target strength of single targets within a selection or region on a single targets echogram can be exported to a .csv file.
- Preparation
- Frequency distribution exporter
- Single instance: Single target frequency distribution for a region or selection
- File format
Preparation
- A single targets variable is required as Operand 1 for the exporter.
- Set the range of TS values that will be included in the analysis and the number of bins into which this range is divided using the settings under Frequency Distribution on the Analysis page of the Variable Properties dialog box of the variable intended for Operand 1 of the exporter.
- Hint: You can graph the frequency distribution prior to exporting to visualize the binning and target information that will be exported. Configure the on-screen axes, bins and labels with Graph Properties.
- You can export either the number of targets in a bin and/or the TS mean of targets in a bin. Select which values to export on the Export page of the EV File Properties dialog box. An exporter object on the Dataflow window can be configured to override the Export page global settings.
|
To export... |
In the Export these analysis variables box, select... |
|
the number of targets in each bin |
Bin_count |
|
the mean TS value of targets in each bin |
Bin_TS_mean |
- If you select one option, the exported file will contain a single line for each domain that is analyzed. If you select both options, the exported file will contain two rows (one after the other) for each domain that is analyzed.
- Under a cells based export, select an export file format on the Export page of the EV File Properties dialog box before using this command. You can select:
- spreadsheet format: to export to a single .csv file for analysis using a spreadsheet application.
- database format: to export data to multiple .csv files for analysis using a database application.
- When exporting a cells analysis or a region-cells analysis, configure the cells by specifying the Show time/distance grid and Show depth/range/line-referenced on the Grid page of the variable intended for Operand 1.
- When exporting a regions analysis, define the regions for the export and set the region type to analysis (use the Region Browser dialog box).
- Ensure the region classes for your export are visible on the Regions page of the variable intended for Operand 1.
Frequency distribution exporter: regions export, regions by cells export and cells export
The Frequency distribution exporter on the Dataflow window allows you to retain and repeat a configured export analysis.
Notes: Regions export
- The column heading for each TS bin column represents the midpoint of the target strength values included in the bin, e.g. a bin that includes targets with target strength between -50 dB and -60 dB, would have '-55' dB as the column heading.
- The regions for which a frequency distribution will be exported are affected by the exclusion lines selected on the Analysis page of the Variable Properties dialog box.
- Regions that do not contain any targets will not be analyzed.
- All settings in the Variable Properties dialog box except those on the Echogram Display page are applied to calculations.
- You can only export single target frequency distribution if you have purchased an Essentials module license.
Notes: Cells export
- The column heading for each bin represents the mid point of the TS values of the bin, e.g., a bin that includes targets with TS values between -50 dB and -60 dB, would have '-55' dB as the column heading.
- The cells for which a frequency distribution will be exported are affected by the exclusion lines selected on the Analysis page of the Variable Properties dialog box.
- The cells for which a frequency distribution will be exported are not affected by the output empty cells option on the Export page of the EV File Properties dialog box, i.e., empty cells will not be analyzed or included in the export.
- All settings in the Variable Properties dialog box except those on the Echogram Display page are applied to calculations.
- You can only export single target frequency distribution if you have purchased an Essentials module license.
Notes: Regions by cells export
- The column heading for each bin represents the mid point of the TS values of the bin, e.g., a bin that includes targets with TS values between -50 dB and -60 dB, would have '-55' dB as the column heading.
- The region-cell intersections for which a frequency distribution will be exported are affected by the exclusion lines selected on the Analysis page of the Variable Properties dialog box.
- The region-cell intersections for which a frequency distribution will be exported are not affected by the output empty cells option on the Export page of the EV File Properties dialog box.
- All settings in the Variable Properties dialog box except those on the Echogram Display page are applied to calculations.
- You can only export single target frequency distribution if you have purchased an Essentials module license.
To create and configure the Frequency distribution exporter object
- Open (or click to bring into focus) the single targets echogram.
- On the Echogram menu, select Export, New Analysis Exporter ...
- On the New Exporter dialog box, select Frequency distribution and click OK.
- Configure the settings on the Frequency Distribution page. The Name and notes page settings allow the customization of the export object name and a place to add text information.
- The key settings for a regions export are:
- Analysis domain: Regions.
- Specified Region classes.
- Analysis variables to export: Override the analysis variables specified within the EV File Properties dialog overrides the global values on the Export page of the EV File Properties dialog box. For further information see Preparation 3.
- The key settings for a cells export are:
- Analysis domain: Cells
- Analysis variables to export: Override the analysis variables specified within the EV File Properties dialog overrides the global values on the Export page of the EV File Properties dialog box. For further information see Preparation 3.
- Cells are configured on the Grid page of the Variable Properties dialog box of the single targets variable used as Operand 1.
- The key setting for regions by cells export are:
- Analysis domain: Regions by cells.
- Specified Region classes.
- Analysis variables to export: Override the analysis variables specified within the EV File Properties dialog overrides the global values on the Export page of the EV File Properties dialog box. For further information see Preparation 3.
- Cells are configured on the Grid page of the Variable Properties dialog box of the single targets variable used as Operand 1.
- Output section: For all the analysis domains (above), the Output section works in the same way as the Analysis variables to export section. Select Override the output settings specified within the EV File Properties dialog to configure exporter-specific output settings for Empty cells handling, Biomass units and file format. When the Override setting is cleared, the section shows the global output settings from the EV File Properties as a read-only preview.
- Click OK.
- - OR -
- On the Datalow Toolbox, under the Exporters section, select the Frequency distribution analysis exporter object and drag and drop it onto the Dataflow window.
- Right-click the Frequency distribution analysis object, select Exporter Properties.
- Specify Operand 1.
- Configure the settings on the Frequency Distribution page. See 'The key settings' for this type of export, in this section.
- Click OK.
To output an export file
- Double-click the Frequency distribution analysis exporter object.
- Specify the file name and file path.
- Click Save.
Single instance: Single target frequency distribution for a selected region or selection on an echogram
To export single target frequency distribution for a region:
- Select the region.
- On the Shortcut menu (right-click), point to Export Region, and then click Target TS Distribution.
- Choose a folder and enter a file name.
- Click Save.
To export single target frequency distribution for a selection:
- Make a selection using any selection tool.
- On the Shortcut menu (right-click), point to Export Selection, and then click Target TS Distribution.
- Choose a folder and enter a file name.
- Click Save.
To export single target frequency distribution for multiple analysis domains at the same time, see Frequency distribution exporter.
TS frequency distribution file format (*.csv)
The first line of the .csv file lists the variables that are exported (these will be used as column headings if the file is loaded into a spreadsheet program). Each subsequent line contains the exported data.
The following data are exported.
|
Variable |
Description |
|
Region_ID |
Unique Region ID assigned to the region. |
|
Region_name |
Name assigned to region. Empty if export of a selection. |
|
Region_Class |
Class of exported region. Empty if export of a selection. |
|
Process_ID |
Unique Process_ID value for the export. |
|
Attribute |
Attribute that follows for each bin, either Bin_Count and/or Bin_TS_mean selected under Frequency distribution on the Export page of the EV File Properties dialog box. |
|
Targets_Binned |
See About analysis variables for descriptions. Notes:
|
|
Targets_Failed_Thresholds |
|
|
Targets_Failed_Filter |
|
|
Targets_Excluded |
|
Targets_Missed_Bins |
|
Region_bottom_altitude_min |
|
Region_bottom_altitude_max |
|
Region_bottom_altitude_mean |
|
Region_top_altitude_min |
|
Region_top_altitude_max |
|
|
Region_top_altitude_mean |
|
|
Bin1 midpoint BinN midpoint |
The first line then has the median TS value for each bin from the first to last bin Binning is determined by the Frequency distribution settings on the Analysis page of the Variable Properties dialog box |
Example file
Widen the browser window to view unwrapped field rows and exported results.
Region_ID,Region_name,Region_class,Process_ID,Attribute,Targets_Binned,Targets_Failed_Thresholds,Targets_Failed_Filter,Targets_Excluded,Targets_Missed_Bins,Region_bottom_altitude_min,Region_bottom_altitude_max,Region_bottom_altitude_mean,Region_top_altitude_min,Region_top_altitude_max,Region_top_altitude_mean,-55,-45,-35,-25
57,"Region 57","Small region",4318,Bin_count,60,0,0,0,0,38.988512,39.312884,39.132643,70.753799,71.078171,70.89793,0,6,45,9
57,"Region 57","Small region",4318,Bin_TS_mean,60,0,0,0,0,38.988512,39.312884,39.132643,70.753799,71.078171,70.89793,-9.90E+37,-45.322011,-32.908052,-26.904587
Tip: It is possible to view a graph of the frequency distribution prior to exporting.
The export single target frequency distribution commands are used to export a frequency distribution of the single targets in selected analysis domains by their target strength.
See also
Exporting data
Special Export Values
Exporting single targets analyses