DataBaseSVOMSimV1¶
-
class
DataBaseSVOMSimV1(p_name, p_local_path, p_pwd=None, p_url=None)[source]¶ Bases:
database.interface_db.DataBaseSVOMInterfaceopen one connection between database SVOM and pipeline ECLAIRs with identifiant p_name return exception if can’t open connexion
Methods Summary
close([p_clean])del_all_products()get_files_evt_between_time(p_tstart, …)p_tstart and p_tstop in s from mjdref get_id()get_log(p_id)get_product(p_id)get_sat_attitude(p_time)return rotation : quaternion like numpy array with 4 values get_sat_position(p_time)get_status(p_id)insert_log(p_file, p_id)insert_product(p_dir, p_id)insert a product file in database insert_status(p_string, p_id)Methods Documentation
-
get_files_evt_between_time(p_tstart, p_tstop, p_id)[source]¶ p_tstart and p_tstop in s from mjdref simu evt files and save them into dir_in evt files names are ECL_EVT_CAL + t_start in s from mjdref
-