from array import array
import string
from math import log


resourcesc = 'A'
resourcetype = '-diagonal-merged'
resourcechannel = 'BuBu'
resourcefactor = 0.65









lowsc= resourcesc.lower()

resourcefile_on='http://emfisis.physics.uiowa.edu/events/rbsp-'+lowsc+'/backgrounds/peak_wfr_'+resourcechannel[0:2].lower()+'_'+resourcesc+'_attenuator_on.qds'
resourcefile_off='http://emfisis.physics.uiowa.edu/events/rbsp-'+lowsc+'/backgrounds/peak_wfr_'+resourcechannel[0:2].lower()+'_'+resourcesc+'_attenuator_off.qds'
inputfile='http://emfisis.physics.uiowa.edu/Flight/RBSP-'+resourcesc+'/L2/$Y/$m/$d/rbsp-'+lowsc+'_WFR-spectral-matrix'+resourcetype+'_emfisis-L2_$Y$m$d_v$(v,sep).cdf?'
inputfileALT='http://emfisis.physics.uiowa.edu/Flight/RBSP-'+resourcesc+'/Quick-Look/$Y/$m/$d/rbsp-'+lowsc+'_WFR-spectral-matrix'+resourcetype+'_emfisis-Quick-Look_$Y$m$d_v$(v,sep).cdf?'

ttr = '2012-10-01'
noise_peak_on__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
noise_peak_off__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
noise_width_on__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
noise_width_off__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)























from org.das2.util.monitor import SubTaskMonitor

imon = 0
