ctools  2.0.0
 All Classes Namespaces Files Functions Variables Macros Pages
cscripts.csobsselect.csobsselect Class Reference
Inheritance diagram for cscripts.csobsselect.csobsselect:

Public Member Functions

def __init__
 
def process
 
def save
 

Private Member Functions

def _get_parameters
 
def _log_selection
 
def _select_observation
 
def _select_circle
 
def _select_box
 

Detailed Description

Selects observations from an observation definition XML file

Definition at line 29 of file csobsselect.py.

Constructor & Destructor Documentation

def cscripts.csobsselect.csobsselect.__init__ (   self,
  argv 
)
Constructor

Definition at line 35 of file csobsselect.py.

Member Function Documentation

def cscripts.csobsselect.csobsselect._log_selection (   self,
  obs,
  msg 
)
private
Log observation selection

Parameters
----------
obs : `~gammalib.GObservation`
    Observation
msg : str
    Message

Definition at line 91 of file csobsselect.py.

Referenced by cscripts.csobsselect.csobsselect._select_box(), cscripts.csobsselect.csobsselect._select_circle(), and cscripts.csobsselect.csobsselect._select_observation().

def cscripts.csobsselect.csobsselect._select_box (   self,
  obs 
)
private
Select observation in a pointing box

Parameters
----------
obs : `~gammalib.GCTAObservation`
    CTA observation

Returns
-------
select : bool
    Observation selection flag

Definition at line 211 of file csobsselect.py.

References cscripts.csobsselect.csobsselect._log_selection().

Referenced by cscripts.csobsselect.csobsselect._select_observation().

def cscripts.csobsselect.csobsselect._select_circle (   self,
  obs 
)
private
Select observation in a pointing circle

Parameters
----------
obs : `~gammalib.GCTAObservation`
    CTA observation

Returns
-------
select : bool
    Observation selection flag

Definition at line 170 of file csobsselect.py.

References cscripts.csobsselect.csobsselect._log_selection().

Referenced by cscripts.csobsselect.csobsselect._select_observation().

def cscripts.csobsselect.csobsselect._select_observation (   self,
  obs 
)
private
Select observation

Parameters
----------
obs : `~gammalib.GObservation`
    Observation

Returns
-------
select : bool
    Observation selection flag

Definition at line 118 of file csobsselect.py.

References cscripts.csobsselect.csobsselect._log_selection(), cscripts.csobsselect.csobsselect._select_box(), and cscripts.csobsselect.csobsselect._select_circle().

Referenced by cscripts.csobsselect.csobsselect.process().

def cscripts.csobsselect.csobsselect.save (   self)

The documentation for this class was generated from the following file: