NMGRL / pychron

Data acquisition and processing framework for Ar-Ar geochronology and noble gas mass spectrometry
http://pychron.readthedocs.org/en/latest/
Apache License 2.0
26 stars 26 forks source link

Backgrounds/ SynExtractionMeasurement #147

Open jirhiker opened 10 years ago

jirhiker commented 10 years ago

measure backgrounds during extraction.

when extraction starts start measuring backgrounds. when extraction finishes stop measuring backgrounds and save to database. if extraction canceled or fails stop syn measurement. (save to database?). finish syn measurement before running post_measurement script

measure both dynamic and static backgrounds. for static backgrounds define a duration and delay_btw_measurement. measure as many statics backgrounds as possible. don't start a static background if <threshold seconds left before unknown measurement.

measure backgrounds in multicollect (and peak hop?) mode.

use a rhyming grammar to define sequence S = measure only static backgrounds SD= measure static then dynamic SSD =measure two static then one dynamic

repeat the sequence for as long as possible or for a set number of iterations

use a yaml file (analogous to truncation file) to define the syn_extraction_measurement.

during this process, refactor AutomatedRun. move _save_... functions to AutomatedRunPersistence

jirhiker commented 10 years ago

todo

  1. handle saving if extraction canceled
  2. add delay for delay_btw_meas