pychron icon indicating copy to clipboard operation
pychron copied to clipboard

Backgrounds/ SynExtractionMeasurement

Open jirhiker opened this issue 12 years ago • 1 comments

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 avatar Jan 26 '14 04:01 jirhiker

todo

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

jirhiker avatar Jan 27 '14 08:01 jirhiker