ecpi.pipeline.io.inputs module

Section author: ECLAIRs GP team

Read data input for pipeline

Summary

Functions:

check_time_coherence_evt_att

Check the time consistence between event and attitude files.

download_common_keywords

Downloads the json schemas for the common and mandatory keywords

read_data_ext

param p_files

read_files

Load information contained in SVO-ATT-CNV files.

read_orbit_files

Load information contained in SVO-ORB-CNV files.

read_table_svo_att_cnv

param p_files

read_table_svo_orb_cnv

param p_files

Reference

check_time_coherence_evt_att(t_start, d_attitude)[source]

Check the time consistence between event and attitude files.

Parameters
  • t_start (float) – starting time of the observation in second.

  • d_attitude (dict) – dictionary collecting infos from attitude files.

Returns

whether origin of time is coherent

Return type

boolean

download_common_keywords()[source]

Downloads the json schemas for the common and mandatory keywords

read_data_ext(p_files, n_ext=1)[source]
Parameters
  • p_files

  • n_ext

read_files(l_files)[source]

Load information contained in SVO-ATT-CNV files.

Parameters

l_files (list) – list of SVO-ATT-CNV files as specified in parameter file.

Returns

dictionary of read values in SVO-ATT-CNV file

Return type

dict

read_orbit_files(l_files)[source]

Load information contained in SVO-ORB-CNV files.

Parameters

l_files (list) – list of SVO-ORB-CNV files as specified in parameter file.

Returns

dictionary of read values in SVO-ORB-CNV file

Return type

dict

read_table_svo_att_cnv(p_files)[source]
Parameters

p_files

read_table_svo_orb_cnv(p_files)[source]
Parameters

p_files