Esempio n. 1
0
 def __init__(self, frb_input_key, cr_input_key, slow_input_key):
     Routine.__init__(self)
     self._frb_input_key = frb_input_key
     self._cr_input_key = cr_input_key
     self._slow_input_key = slow_input_key
     self._frb_coeff = []
     self._cr_coeff = []
     self._slow_coeff = []
Esempio n. 2
0
 def __init__(self,
              input_key="tod_data",
              output_key="tod_data",
              abspath=False):
     Routine.__init__(self)
     self._fb = None
     self._abspath = abspath
     self._input_key = input_key
     self._output_key = output_key
Esempio n. 3
0
 def __init__(self, cosig_key, tod_key, output_key,all_coeff_output_key, coeff=0.8):
     Routine.__init__(self)
     self._cosig_key = cosig_key
     self._tod_key = tod_key
     self._pr = None
     self._template = None
     self._output_key = output_key
     self._all_coeff_output_key = all_coeff_output_key
     self._coeff = coeff
     self._tag = None
Esempio n. 4
0
 def __init__(self,
              min_coeff=0.8,
              max_coeff=1,
              input_key="events",
              output_key="events"):
     """Filter events based on coefficient"""
     Routine.__init__(self)
     self._min_coeff = min_coeff
     self._max_coeff = max_coeff
     self._input_key = input_key
     self._output_key = output_key
     self._events_passed = 0
     self._events_processed = 0
Esempio n. 5
0
 def __init__(self,
              min_pixels=0,
              max_pixels=100,
              input_key="events",
              output_key="events"):
     """Scripts that run during initialization of the routine"""
     Routine.__init__(self)
     self._min_pixels = min_pixels
     self._max_pixels = max_pixels
     self._input_key = input_key
     self._output_key = output_key
     self._events_passed = 0
     self._events_processed = 0
Esempio n. 6
0
 def __init__(self,
              season="2016",
              input_key="cuts",
              output_key="cosig",
              strict=True,
              polarized=False):
     """
     :param input_key: string
     :param output_key: string
     :param strict: boolean - Strict mode means each pixel must have 4 TES
                    detectors. Loose mode means that each frequency has at
                    least one TES detectors.
     :param polarized: boolean - True means that we are looking for potentially
                     polarized signals. False means that we only look for
                     un-polarized signals.
     """
     Routine.__init__(self)
     self._input_key = input_key
     self._output_key = output_key
     self._pr = None
     self._strict = strict
     self._polarized = polarized
     self._season = season
Esempio n. 7
0
 def __init__(self, input_key="cuts", output_key="cuts"):
     Routine.__init__(self)
     self._input_key = input_key
     self._output_key = output_key
Esempio n. 8
0
 def __init__(self, input_key="cosig", output_key="events"):
     Routine.__init__(self)
     self._input_key = input_key
     self._output_key = output_key
     self._cosig = None
     self._nsamps = None
Esempio n. 9
0
 def __init__(self, input_key="cosig", output_key="events"):
     """A routine that converts cuts to events"""
     Routine.__init__(self)
     self._input_key = input_key
     self._output_key = output_key
     self._tag = "RAW"
Esempio n. 10
0
 def __init__(self):
     Routine.__init__(self)
     self._glitches_hist = None
     self._tods_hist = None
Esempio n. 11
0
 def __init__(self, input_key, output_key):
     Routine.__init__(self)
     self._input_key = input_key
     self._output_key = output_key
Esempio n. 12
0
 def __init__(self, output_dir):
     Routine.__init__(self)
     self._output_dir = output_dir
Esempio n. 13
0
 def __init__(self, season='2016', array='AR3', downsample=1):
     Routine.__init__(self)
     self._pr = None  # pixel reader
     self._downsample = downsample
     self._season = season
     self._array = array
Esempio n. 14
0
 def __init__(self, input_key="tod_data", output_key="tod_data"):
     Routine.__init__(self)
     self._input_key = input_key
     self._output_key = output_key
Esempio n. 15
0
 def __init__(self, max_length=100, input_key="tracks", output_key="tracks"):
     Routine.__init__(self, input_key, output_key)
     self._max_length = max_length