projects/barrel/barrel_sp_v3.5/
barrel_sp_pick_datatime.pro
NAME: barrel_sp_pick_datatime.pro DESCRIPTION: Pick start and stop times for spectral accumulation and background REQUIRED INPUTS: ss spectrum structure startdatetime start time for plot from which we will pick source and background times, format yyyy-mm-dd/hh:mm:ss duration duration in hours to look, starting at startdatetime payload payload ID, with format, e.g., '1G' bkgmethod 1=select bkg intervals from data stream 2=use bkg model from U. of Washington OPTIONAL INPUTS: lcband which FSPC band to plot during selection (default 1) uselog plot FSPC data on a log scale (default 0) level data CDF level (default 'l2') version data CDF version for barrel_load_data. If not specified, use that routine's default starttimes,endtimes,startbkg,endbkg: start and end times (string format or unix epoch) for source and background intervals (if not to be selected graphically) medticks,slowticks Show vertical dotted lines at the start and and of medium, slow spectra (for use only when zoomed in to small times! OUTPUTS: No direct outputs, but the spectrum structure ss gets updated with trange and bkgtrange (primary purpose of this routine), also: payload,askdate, askduration, bkgmethod CALLS: barrel_load_data, barrel_selecttimes NOTES: STATUS: TO BE ADDED: REVISION HISTORY: Version 3.0 DMS 9/9/13 Most recent changes from v2.9: remove passing x start and stop values to barrel_selecttimes KY 8/28/13 'brl???_' -> 'brl' and '_LC' -> '_FSPC' (update tplot variable names) 9/30/13 -- remove "dobkg"; whether background intervals are selected should automatically follow bkgmethod. 10/1/13 -- put in option for already having specified the time ranges by hand. (start/end times/bkgs) 10/25/13 -- add provision for start/end times entered by hand to be already in unix epoch (as from a prev. run) 10/29/13 - Add plot of altitude to assist in background selection 11/12/13 - Add option for vertical ticks for medium and slow spectra 11/12/13 - Add default "no update" for reading FSPC data
Routines
top source barrel_sp_pick_datatime
barrel_sp_pick_datatime, ss, startdatetime, duration, payload, bkgmethod, lcband=lcband, uselog=uselog, level=level, version=version, starttimes=starttimes, endtimes=endtimes, startbkgs=startbkgs, endbkgs=endbkgs, mticks=mticks, sticks=sticks
Parameters
- ss
- startdatetime
- duration
- payload
- bkgmethod
Keywords
- lcband
- uselog
- level
- version
- starttimes
- endtimes
- startbkgs
- endbkgs
- mticks
- sticks
File attributes
Modification date: | Tue Oct 21 13:53:31 2014 |
Lines: | 109 |