This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
chara:pavo_analysis_manual [2018/11/20 22:16] gail_stargazer |
chara:pavo_analysis_manual [2018/11/29 15:30] jones [l1_l2_gui.pro] |
||
---|---|---|---|
Line 64: | Line 64: | ||
* plot Always use this option when you are running a new data analysis. The plots will look like the following for a strong fringe on baseline 1, which uses beams 1 and 2: | * plot Always use this option when you are running a new data analysis. The plots will look like the following for a strong fringe on baseline 1, which uses beams 1 and 2: | ||
- | {{http:// | + | |
- | \\ | + | |
The outputs from processv2.pro are: | The outputs from processv2.pro are: | ||
Line 71: | Line 70: | ||
* The .pav files from individual analysis. These are IDL variable files that contain finely sampled V2 and closure-phase. | * The .pav files from individual analysis. These are IDL variable files that contain finely sampled V2 and closure-phase. | ||
* The log file, which contains the settings used for the out file. | * The log file, which contains the settings used for the out file. | ||
- | * If /plot is set, a screenshot of the output of the wavelength calibration will be created. A faulty wavelength calibration has strong potential to screw things up, and it should therefore be checked before proceeding in the analysis. Offsets and Rotation are listed in the log file: Offsets of /- 2 pixels are ok, everything higher should be suspicious. An example plot for an ok wavelength calibration with an offset of 1.2 can be found [[:chara:file_view_wavecal.gif_232656756_wavecal.gif|here]] (solid line = flux vs lambda after correcting for offset, dashed line = calibrated inflection point of PAVO filter). | + | * If /plot is set, a screenshot of the output of the wavelength calibration will be created. A faulty wavelength calibration has strong potential to screw things up, and it should therefore be checked before proceeding in the analysis. Offsets and Rotation are listed in the log file: Offsets of /- 2 pixels are ok, everything higher should be suspicious. An example plot for an ok wavelength calibration with an offset of 1.2 can be found {{:chara:files: |
==== ==== | ==== ==== | ||
==== ==== | ==== ==== | ||
+ | |||
==== l0_l1_gui.pro ==== | ==== l0_l1_gui.pro ==== | ||
- | This program takes the .pav files and performs an automated outlier rejection as well as enables the user to manually reject bad sections of data. This program can only be run if /individual is set when running processv2.pro (i.e. .pav files have been created), which should really be the default option. \\ \\ Walkthrough: | + | This program takes the .pav files and performs an automated outlier rejection as well as enables the user to manually reject bad sections of data. This program can only be run if /individual is set when running processv2.pro (i.e. .pav files have been created), which should really be the default option. \\ \\ Walkthrough: |
4) Outlier rejection is based on 3 criteria: S/N, seconds after lock on fringes is lost (NSEC) and deviation from mean in sigma (SIGMA LIMIT); The default values for this should be fine in most cases; S/N cuts are probably the most sensible to be adjusted if data is particularly bad/good. \\ | 4) Outlier rejection is based on 3 criteria: S/N, seconds after lock on fringes is lost (NSEC) and deviation from mean in sigma (SIGMA LIMIT); The default values for this should be fine in most cases; S/N cuts are probably the most sensible to be adjusted if data is particularly bad/good. \\ | ||
- | 5) The bottom row shows a range of diagnostics that can be used to determine the quality of data such as group delays, cart positions, V2C/V2 (measure of t0, good if high) and histograms. An example for a histogram display for 3-bl data can be found [[:chara:file_view_l0l1_3bl.tiff_232655724_l0l1_3bl.tiff|here]]. The top right window will display the fraction of datapoints rejected with the current settings. \\ | + | 5) The bottom row shows a range of diagnostics that can be used to determine the quality of data such as group delays, cart positions, V2C/V2 (measure of t0, good if high) and histograms. An example for a histogram display for 3-bl data can be found {{:chara:files: |
6) Once you're satisfied with the rejection settings for the scan press OUTPUT FILE, which will show V2 vs lambda using all frames that survived the outlier rejection. This step will create and entry in the output file // | 6) Once you're satisfied with the rejection settings for the scan press OUTPUT FILE, which will show V2 vs lambda using all frames that survived the outlier rejection. This step will create and entry in the output file // | ||
Line 93: | Line 93: | ||
==== l1_l2_gui.pro ==== | ==== l1_l2_gui.pro ==== | ||
- | A GUI extension of l1_l2.pro to calibrate data, including multi-bracket calibration and proper uncertainty calculations using Monte-Carlo simulations. This program can only be run with the output of l0_l1_gui.pro (see above). \\ \\ Walkthrough: | + | A GUI extension of l1_l2.pro to calibrate data, including multi-bracket calibration and proper uncertainty calculations using Monte-Carlo simulations. This program can only be run with the output of l0_l1_gui.pro (see above). \\ \\ Walkthrough: |
4) Once you have identified the brackets that should be used for calibration, | 4) Once you have identified the brackets that should be used for calibration, | ||
5) Load your config file using the LOAD CONFIG FILE button and press CALIBRATE to perform the multi-bracket calibration. A LD/UD will be performed automatically. Press OUTPUT FILES to output the data of this graph. \\ | 5) Load your config file using the LOAD CONFIG FILE button and press CALIBRATE to perform the multi-bracket calibration. A LD/UD will be performed automatically. Press OUTPUT FILES to output the data of this graph. \\ | ||
- | 6) Pressing RUN MC will start the Monte-Carlo simulations to calculate uncertainties of the UD fit to the data. The simulations include uncertainties in wavelength scale, calibrator diameters, measurement errors, limb-darkening coefficient and correlations between wavelength channels (see [[:chara:file_view_l1_l2.tiff_232656708_l1_l2.tiff|here]] for an example output screenshot). This feature is so far only implemented for a simple UD fit. \\ | + | 6) Pressing RUN MC will start the Monte-Carlo simulations to calculate uncertainties of the UD fit to the data. The simulations include uncertainties in wavelength scale, calibrator diameters, measurement errors, limb-darkening coefficient and correlations between wavelength channels (see {{:chara:files:l1_l2.jpg? |
\\ | \\ | ||
Note: /exp is default in this program as I've found it to improve the calibration in almost all cases. | Note: /exp is default in this program as I've found it to improve the calibration in almost all cases. |