threeML.utils.data_builders.fermi package
Submodules
threeML.utils.data_builders.fermi.gbm_data module
- class threeML.utils.data_builders.fermi.gbm_data.GBMCdata(cdata_file: str, rsp_file: str)[source]
Bases:
object
- property det_name: str
Return the name of the instrument and detector
- Returns:
- property energies: ndarray
- property mission: str
Return the name of the mission :return:
- property n_channels: int
- property trigger_time: float
- property tstart: float
- property tstop: float
- class threeML.utils.data_builders.fermi.gbm_data.GBMTTEFile(ttefile: str)[source]
Bases:
object
- property arrival_times: ndarray
- property deadtime: ndarray
- property det_name: str
Return the name of the instrument and detector
- Returns:
- property energies: ndarray
- property mission: str
Return the name of the mission :return:
- property n_channels: int
- property trigger_time: float
- property tstart: float
- property tstop: float
threeML.utils.data_builders.fermi.lat_data module
- class threeML.utils.data_builders.fermi.lat_data.LLEFile(lle_file, ft2_file, rsp_file)[source]
Bases:
object
- property arrival_times
The GTI/energy filtered arrival times in MET :return:
- property energies
The GTI/energy filtered pha energies :return:
- property energy_edges
- property instrument
Return the name of the instrument and detector
- Returns:
- is_in_gti(time)[source]
Checks if a time falls within a GTI
- Parameters:
time – time in MET
- Returns:
bool
- property livetime
- property livetime_start
- property livetime_stop
- property mission
Return the name of the mission :return:
- property n_channels
- property trigger_time
Gets the trigger time in MET :return: trigger time in MET
- property tstart
- property tstop
threeML.utils.data_builders.fermi.lat_transient_builder module
- class threeML.utils.data_builders.fermi.lat_transient_builder.LATLikelihoodParameter(name, help_string, default_value=None, allowed_values=None, is_number=True, is_bool=False)[source]
Bases:
object
- property is_set
- property name
- property value
- class threeML.utils.data_builders.fermi.lat_transient_builder.LATObservation(event_file, ft2_file, exposure_map, livetime_cube, tstart, tstop, liketype, triggername)[source]
Bases:
object
- property event_file
- property exposure_map
- property ft2_file
- property liketype
- property livetime_cube
- property triggername
- property tstart
- property tstop
- class threeML.utils.data_builders.fermi.lat_transient_builder.TransientLATDataBuilder(triggername, **init_values)[source]
Bases:
object
- classmethod from_saved_configuration(triggername, config_file)[source]
Load a saved yaml configuration for the given trigger name
- Parameters:
triggername – Trigger name of the source in YYMMDDXXX
config_file – the saved yaml configuration to use
- Returns:
- Return type:
- run(include_previous_intervals=False, recompute_intervals=False)[source]
run GtBurst to produce the files needed for the FermiLATLike plugin