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

Public Member Functions

def __init__
 
def process
 
def save
 
def ebounds
 

Private Member Functions

def _get_parameters
 
def _insert_energy
 
def _set_ebounds
 

Private Attributes

 _ebounds
 

Detailed Description

Generates energy boundaries for stacked analysis

Definition at line 30 of file csebins.py.

Constructor & Destructor Documentation

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

Definition at line 36 of file csebins.py.

Member Function Documentation

def cscripts.csebins.csebins._get_parameters (   self)
private
Get parameters from parfile

Definition at line 51 of file csebins.py.

References ctobservation.obs(), cscripts.csobsdef.csobsdef.obs(), and cscripts.csiactobs.csiactobs.obs().

Referenced by cscripts.csmodelinfo.csmodelinfo.process(), cscripts.csobsinfo.csobsinfo.process(), cscript_like.cscript_like.process(), cscript_obs.cscript_obs.process(), cscript_base.cscript_base.process(), cscripts.csmodelmerge.csmodelmerge.process(), cscripts.csiactdata.csiactdata.process(), cscripts.cstsmapsplit.cstsmapsplit.process(), cscripts.csresmap.csresmap.process(), cscripts.csmodelsois.csmodelsois.process(), cscripts.csobsdef.csobsdef.process(), cscripts.csfindobs.csfindobs.process(), cscripts.csmodelselect.csmodelselect.process(), cscripts.csebins.csebins.process(), cscripts.cstsmapmerge.cstsmapmerge.process(), cscripts.csobsselect.csobsselect.process(), cscripts.csworkflow.csworkflow.process(), cscripts.csobs2caldb.csobs2caldb.process(), cscripts.cstsdist.cstsdist.process(), cscripts.csiactcopy.csiactcopy.process(), cscripts.cssrcdetect.cssrcdetect.process(), cscripts.cspull.cspull.process(), cscripts.csphasecrv.csphasecrv.process(), cscripts.csiactobs.csiactobs.process(), cscripts.cslightcrv.cslightcrv.process(), cscripts.csviscube.csviscube.process(), cscripts.csresspec.csresspec.process(), cscripts.csfootprint.csfootprint.process(), cscripts.csscs.csscs.process(), cscripts.csphagen.csphagen.process(), cscripts.cssens.cssens.process(), cscripts.csspec.csspec.process(), and cscripts.csroot2caldb.csroot2caldb.process().

def cscripts.csebins.csebins._insert_energy (   self,
  responses,
  energy,
  comment 
)
private
Set energy boundaries for one CTA observation

Parameters
----------
responses : list of dict
    List of response dictionaries
energy : float
    Energy to insert (TeV)
comment : str
    Reason for energy insertion

Definition at line 87 of file csebins.py.

Referenced by cscripts.csebins.csebins._set_ebounds().

def cscripts.csebins.csebins._set_ebounds (   self,
  obs 
)
private
Set energy boundaries for one CTA observation

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

Definition at line 152 of file csebins.py.

References cscripts.csebins.csebins._insert_energy().

Referenced by cscripts.csspec.csspec._get_parameters(), and cscripts.csebins.csebins.process().

def cscripts.csebins.csebins.ebounds (   self)
Return energy boundaries

Returns
-------
ebounds : `~gammalib.GEbounds()`
    Energy boundaries

Definition at line 284 of file csebins.py.

References cscripts.csebins.csebins._ebounds.

def cscripts.csebins.csebins.save (   self)
Save energy boundaries

Definition at line 262 of file csebins.py.

References cscripts.csmodelmerge.csmodelmerge._clobber.

Member Data Documentation


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