Difference between revisions of "SciFigs: Curve Browser"

From GeopsyWiki
Jump to navigation Jump to search
 
(22 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
''Note'': you can load as many curve as you want. However, you MUST keep only the curves that you want to invert. PLEASE do not forget to REMOVE the Data Sets you do not want to be used in the Inversion.
 
''Note'': you can load as many curve as you want. However, you MUST keep only the curves that you want to invert. PLEASE do not forget to REMOVE the Data Sets you do not want to be used in the Inversion.
  
{| border="1" cellpadding="5" cellspacing="0"
+
[[Image:LoadCurve.png|thumb|left|300px|Loading a curve]] By pressing button '''Load''' a pop up window appears and you can select the ASCII file that has in a [[SciFigs: multicolumn file |multi-column file format]] the Dispersion Curve information. After you select the file and press '''Open''' another [[SciFigs: Multi-column Parser|dialog box]] appears where you can define the type of information you have in each column.
|+ align="bottom" style="color:#e76700;" |Table caption
 
! [[Image:LoadCurve.png|thumb|left|300px|Loading a curve]]
 
! By pressing button Load a pop up window appears and you can select the ASCII file that has in a [[SciFigs: multicolumn file |multicolumn file format]] the Dispersion Curve information.
 
! [[Image:LoadCurveTable.png|thumb|right|300px|Accepting different information from the multicolumn a curve]]
 
|-
 
| Row 1 Col 1
 
| Row 1 Col 2
 
| Row 1 Col 3
 
...
 
|}
 
 
 
 
 
[[Image:LoadCurve.png|thumb|left|300px|Loading a curve]]
 
By pressing button Load a pop up window appears and you can select the ASCII file that has in a [[SciFigs: multicolumn file |multicolumn file format]] the Dispersion Curve information.
 
[[Image:LoadCurveTable.png|thumb|right|300px|Accepting different information from the multicolumn a curve]]
 
 
 
 
<br style="clear: both"/>
 
<br style="clear: both"/>
  
[[Image:CurveBrowser.png|thumb|right|600px|Curve Browser]]
+
== Clear ==
All curves loaded or created so far are displayed on the attached plot (right hand side). Only one curve is shown in the Table each time (left hand side). To change the active/shown curve, move the horizontal scroll bar above the Table entitled Curve Data. The title of the frame just below the scroll bar give the index and the total number of available curves. All items within this frame apply to current curve:
 
* values in the table
 
* menu [[#Actions|Actions]]
 
* curve name
 
* visible button
 
 
 
To identify curves on the plot, it is handy to play with the '''Visible''' check box. It does not remove the curve but just hides it on the plot.
 
 
 
== Clearing curves ==
 
 
 
You can also associate a special color, pen and symbol to each curve with the '''Legend''' button. Naming curves with unique names might be also useful.
 
 
 
== Actions ==
 
 
 
[[Image:Dinver_dc_actions.png|thumb|right|400px|List of available actions for the current curve]]
 
 
 
=== Save ===
 
Saves current curve to a text file made of 4 columns: frequency, slowness, standard deviation and weight.
 
The log is save as comments before the curve samples.
 
=== Log ===
 
Shows a log of all actions performed on the current curve.
 
=== Remove ===
 
Removes the current curve from the plot
 
=== Resample ===
 
Reorganize sampling of the current curve. Samples can be distributed on a log, linear or curvilinear scale. You can define any frequency range even outside the current available range. In this later case, samples are extrapolated and set as invalid. If the defined range is smaller than the current range, outside samples are not affected. To remove them use '''Cut'''.
 
=== Cut ===
 
Removes all samples outside a defined frequency or period range.
 
=== Smooth ===
 
Smooths the curve... currently not implemented.
 
  
== Manual editing ==
+
By pressing '''Clear''' you remove all curves from the memory. In order to add a curve you should start from loading the curve. '''''It is highly suggested''''' after some processing with different Dispersion Curves to save the curves before removing everything. '''Do not forget''' if you use Save you also add the Log information of the work that has been done with different curves so that you can repeat the procedure later.
 
 
You can edit all values like in a usual work sheet.
 
  
If you want to set the same value to several rows:
+
== Legend ==
* Selected the rows (by clicking on the left header to select the full row)
+
You can also associate a special color, pen and symbol to each curve with the [[SciFigs: Legend|'''Legend''']] button. Naming curves with unique names might be also useful.
* Edit one cell of the selection
 
* Hit enter or move to another cell to validate
 
* A dialog box should pop up asking if you want to extend the edition to all other selected rows.
 
  
 
== Averaging or merging curves ==
 
== Averaging or merging curves ==
  
Once you have at least two curves loaded, you can select the following action to average or merge several curves. A dialog box lets you select the curve to average or merge. Merging applies to non-overlapping frequency ranges, average applies to overlapping ranges. Both actions are automatically performed. If more than two curves are selected, curves are averaged or merged one by one using the same process:
+
Once you have at least two curves loaded, you can select the '''Average''' button to [[Scifigs:Average|'''average''']] or [[SciFigs: Merge|'''merge''']] several curves. A dialog box lets you select the curves to average or merge. Merging applies to non-overlapping frequency ranges, average applies to overlapping ranges. Both actions are automatically performed. If more than two curves are selected, curves are averaged or merged one by one using the same process:
  
 
* Build a vector with X values from the two curves.
 
* Build a vector with X values from the two curves.
Line 105: Line 55:
 
\end{array}
 
\end{array}
 
</math>
 
</math>
 +
 +
== Table with Curve data ==
 +
[[Image:CurveBrowser.png|thumb|right|500px|Curve Browser]]
 +
All curves loaded or created so far are displayed on the attached plot (right hand side). Only one curve is shown in the Table (gray frame) each time (left hand side). To change the active/shown curve, move the horizontal scroll bar above the Table entitled Curve Data. The title of the frame just below the scroll bar give the index and the total number of available curves. All items within this frame '''Curve 1 of 2''' apply to the current curve:
 +
* Values of each parameter are given in the table and you can define if set of values for any frequency is valid, to be used, or not
 +
* The curve '''Name''' as defined from the Filename when we imported the ASCII data file
 +
* '''Visible''' check box can be used to remove the line from the graph on the right hand side of the window. '''Be careful this does not exclude the curve from further calculations''' it is just a visualization trick, that is very handy. '''You need to use from Actions (see below) REMOVE to exclude the Data from the group of curves to be used'''
 +
* [[#Actions|Actions]] Drop Down menu
 +
 +
=== Actions ===
 +
 +
[[Image:Dinver_dc_actions.png|thumb|right|400px|List of available actions for the current curve]]
 +
 +
==== Save ====
 +
Saves current curve to a text file made of 4 columns: frequency, slowness, standard deviation and weight.
 +
The log is saved as comments before the curve samples.
 +
 +
==== Log ====
 +
Shows a curve log of all actions performed on the current curve.
 +
==== Remove ====
 +
Removes the current curve from the plot. This is the only secure way to '''Remove''' a curve from the list of data we have. If you want any part of the removed curve you have to load it from the beginning. If you need to remove all curves please use [[#Clearing curves|Clear]]
 +
==== Resample ====
 +
Reorganize sampling of the current curve. Samples can be distributed on a log, linear or curvilinear scale. You can define any frequency range even outside the current available range. In this later case, samples are extrapolated and set as invalid. If the defined range is smaller than the current range, outside samples are not affected. To remove them use '''Cut'''.
 +
==== Cut / Keep ====
 +
Removes all samples outside a defined frequency or period range. It should called keep but for reason of consistency with other software we use Cut since it cuts the data that are outside the limits we define.
 +
 +
==== Smooth ====
 +
Smooths the curve... currently not implemented.
 +
 +
=== Manual editing ===
 +
 +
You can edit all values like in a usual work sheet.
 +
 +
If you want to set the same value to several rows:
 +
* Selected the rows (by clicking on the left header to select the full row)
 +
* Edit one cell of the selection
 +
* Hit enter or move to another cell to validate
 +
* A dialog box should pop up asking if you want to extend the edition to all other selected rows.

Latest revision as of 17:27, 9 March 2010

Loading curves

Click on Load button

Note: you can load as many curve as you want. However, you MUST keep only the curves that you want to invert. PLEASE do not forget to REMOVE the Data Sets you do not want to be used in the Inversion.

Loading a curve

By pressing button Load a pop up window appears and you can select the ASCII file that has in a multi-column file format the Dispersion Curve information. After you select the file and press Open another dialog box appears where you can define the type of information you have in each column.


Clear

By pressing Clear you remove all curves from the memory. In order to add a curve you should start from loading the curve. It is highly suggested after some processing with different Dispersion Curves to save the curves before removing everything. Do not forget if you use Save you also add the Log information of the work that has been done with different curves so that you can repeat the procedure later.

Legend

You can also associate a special color, pen and symbol to each curve with the Legend button. Naming curves with unique names might be also useful.

Averaging or merging curves

Once you have at least two curves loaded, you can select the Average button to average or merge several curves. A dialog box lets you select the curves to average or merge. Merging applies to non-overlapping frequency ranges, average applies to overlapping ranges. Both actions are automatically performed. If more than two curves are selected, curves are averaged or merged one by one using the same process:

  • Build a vector with X values from the two curves.
  • Resample both curves with this common X sampling.
  • For each X value and for both curves, we have mean, variance, and weight (number of values used to compute statistics)

Where:

is the weight or equivalently the number of items in the statistical population used for the computation of and . is the ith item in population j.

The mean and variance computed over the whole population is then:

Table with Curve data

Curve Browser

All curves loaded or created so far are displayed on the attached plot (right hand side). Only one curve is shown in the Table (gray frame) each time (left hand side). To change the active/shown curve, move the horizontal scroll bar above the Table entitled Curve Data. The title of the frame just below the scroll bar give the index and the total number of available curves. All items within this frame Curve 1 of 2 apply to the current curve:

  • Values of each parameter are given in the table and you can define if set of values for any frequency is valid, to be used, or not
  • The curve Name as defined from the Filename when we imported the ASCII data file
  • Visible check box can be used to remove the line from the graph on the right hand side of the window. Be careful this does not exclude the curve from further calculations it is just a visualization trick, that is very handy. You need to use from Actions (see below) REMOVE to exclude the Data from the group of curves to be used
  • Actions Drop Down menu

Actions

List of available actions for the current curve

Save

Saves current curve to a text file made of 4 columns: frequency, slowness, standard deviation and weight. The log is saved as comments before the curve samples.

Log

Shows a curve log of all actions performed on the current curve.

Remove

Removes the current curve from the plot. This is the only secure way to Remove a curve from the list of data we have. If you want any part of the removed curve you have to load it from the beginning. If you need to remove all curves please use Clear

Resample

Reorganize sampling of the current curve. Samples can be distributed on a log, linear or curvilinear scale. You can define any frequency range even outside the current available range. In this later case, samples are extrapolated and set as invalid. If the defined range is smaller than the current range, outside samples are not affected. To remove them use Cut.

Cut / Keep

Removes all samples outside a defined frequency or period range. It should called keep but for reason of consistency with other software we use Cut since it cuts the data that are outside the limits we define.

Smooth

Smooths the curve... currently not implemented.

Manual editing

You can edit all values like in a usual work sheet.

If you want to set the same value to several rows:

  • Selected the rows (by clicking on the left header to select the full row)
  • Edit one cell of the selection
  • Hit enter or move to another cell to validate
  • A dialog box should pop up asking if you want to extend the edition to all other selected rows.