process.server.ecpi_dc0 Module

main modules to run the ECLAIRs’ IMAG pipeline for the dc0

Created on 25 oct 2018

author: Camille Catalano, APC/IN2P3/CNRS

Functions

fake_lcs(start_time, end_time, file_path, …) create a fake ECL-LCS-S1.fits file product
fake_sop_ima(attitude, tstart, tstop, …) create a fake ECL-SOP-IMA.fits file product
fake_sps(start_time, end_time, file_path, …) create a fake ECL-SPS-S1.fits file product
gauss Gaussian distribution.
get_root_eclairs() get the path of the ECLAIRs directory.
pipeline_dc0(evt_filenames, att_filenames, …) ECLAIRs pipeline for dc0
process_message(response_dict, cfg, stream_id) Not use for now
read_evt_sec(evt_filename, dirin) read the ecl_evt_sec file and return the times of the beginning and end of the observation
read_svo_att(att_filename, dirin, time_obs) read the svo_att fits file and return the attitude corresponding to the time_obs