ecpi.pipeline.io.gti_flow module

Section author: ECLAIRs GP team

Data Flow is the layer for transmitting the data along the ECPI pipeline. Data Flow is a class containing four different classes each one for a particular type of data to be transmitted A) GtiFlow concerns all the information and functionality

related to the Good Time Intervals.

  1. AttPvtFlow concerns the information about the orbit and

    the attitude of the satellite.

  2. EventFlow concerns the events and the different type

    of related objects

  3. DetImagFlow concerns the detector images and its

    different representations

All these objects are grouped in a global container which becomes the data_flow layer in the main pipeline.

Summary

Classes:

GtiFlow

Class diagram:

_images/classes_ecpi.pipeline.io.gti_flow.png

Functions:

intersects_gti

Computes the intersection of 2 GTI (defined as sorted numpy arrays).

union

Computes the union of two gtis

Reference

class GtiFlow[source]

Bases: object

compute_earth_gtis(t_orb, peof_min, peof_max)[source]
intersect_gtis(in_gti='')[source]

Computes the intersection of a earth gti with the dpco basic gtis.

join_gti(gtia, gtib)[source]

Computes the union of two gtis

set_basic_gtis(gtis)[source]
set_earth_gtis(gtis)[source]
set_gti_types(gti_types)[source]
set_user_gtis(gtis)[source]

User gtis can be given with arbitrary bounds and a preliminary check is made for setting in the right decimation

show_gtis()[source]
intersects_gti(gti_a, gti_b)[source]

Computes the intersection of 2 GTI (defined as sorted numpy arrays). Returns the intersected array.

union(gtia, gtib)[source]

Computes the union of two gtis