# Read the Juno PDS L3 files and produce Proton Spectra from the Time of # flight data. These data are not available all the time but are the # most accurate source when present. The energy spectrum files do not # provide mass information, but do draw far less power. import sys import math as M import autoplot as A # These are commonly needed, good candidates for exporting into the Autoplot # namespace from org.das2.fsm import FileStorageModel from org.das2.qds.util.Reduction import reducex ############################################################################## # Constants DESC = 0 FIRST_COL = 1 NUM_BINS = 2 DROP_LEFT = 3 FILES = 4 g_sRoot = "file:/opt/project/juno/mirror/jed/JNOJED_3001/DATA" g_dOffset = {'counts':0, 'counts_per_sec':1, 'flux':0} g_dLabel = {'counts':'counts', 'counts_per_sec':'Count Rate (s!a-1!n)', 'flux':'Differential Intensity (cm!a-2!n keV!a-1!n s!a-1!n sr!a-1!n)'}