ctools
2.0.0
|
Public Member Functions | |
def | __init__ |
def | process |
def | save |
def | zeniths |
def | azimuths |
def | ras |
def | decs |
def | offsets |
def | ebounds |
def | gti |
Private Member Functions | |
def | _get_parameters |
Private Attributes | |
_obj_dir | |
_compute_offset | |
_offsets | |
_zeniths | |
_azimuths | |
_pnt_ra | |
_pnt_dec | |
_ebounds | |
_gti | |
Shows the content of an observation container
Definition at line 29 of file csobsinfo.py.
def cscripts.csobsinfo.csobsinfo.__init__ | ( | self, | |
argv | |||
) |
Constructor.
Definition at line 35 of file csobsinfo.py.
|
private |
Get parameters from parfile and setup the observation
Definition at line 58 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._compute_offset, cscripts.csobsinfo.csobsinfo._obj_dir, ctobservation.obs(), cscripts.csobsdef.csobsdef.obs(), and cscripts.csiactobs.csiactobs.obs().
Referenced by cscripts.csobsinfo.csobsinfo.process(), cscript_base.cscript_base.process(), cscript_like.cscript_like.process(), cscript_obs.cscript_obs.process(), cscripts.cstsmapsplit.cstsmapsplit.process(), cscripts.csresmap.csresmap.process(), cscripts.cstsmapmerge.cstsmapmerge.process(), cscripts.csobsselect.csobsselect.process(), cscripts.csworkflow.csworkflow.process(), cscripts.cstsdist.cstsdist.process(), cscripts.cssrcdetect.cssrcdetect.process(), cscripts.cspull.cspull.process(), cscripts.csphasecrv.csphasecrv.process(), cscripts.csviscube.csviscube.process(), cscripts.csresspec.csresspec.process(), cscripts.csscs.csscs.process(), cscripts.csphagen.csphagen.process(), cscripts.cssens.cssens.process(), cscripts.csspec.csspec.process(), and cscripts.csroot2caldb.csroot2caldb.process().
def cscripts.csobsinfo.csobsinfo.azimuths | ( | self | ) |
Return azimuth angles
Definition at line 359 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._azimuths.
def cscripts.csobsinfo.csobsinfo.decs | ( | self | ) |
Return pointings declination
Definition at line 371 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._pnt_dec.
def cscripts.csobsinfo.csobsinfo.ebounds | ( | self | ) |
Return energy boundaries
Definition at line 383 of file csobsinfo.py.
References cscripts.csebins.csebins._ebounds, cscripts.csobsinfo.csobsinfo._ebounds, and cscripts.csiactobs.csiactobs._ebounds.
Referenced by cscripts.csobsinfo.csobsinfo.process().
def cscripts.csobsinfo.csobsinfo.gti | ( | self | ) |
Return good time intervals
Definition at line 389 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._gti.
Referenced by cscripts.csobsinfo.csobsinfo.process().
def cscripts.csobsinfo.csobsinfo.offsets | ( | self | ) |
Return offset angles
Definition at line 377 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._offsets.
def cscripts.csobsinfo.csobsinfo.process | ( | self | ) |
Process the script
Definition at line 89 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._azimuths, cscripts.csobsinfo.csobsinfo._compute_offset, cscripts.csebins.csebins._ebounds, cscripts.csobsinfo.csobsinfo._ebounds, cscripts.csiactobs.csiactobs._ebounds, cscripts.csadd2caldb.csadd2caldb._get_parameters(), cscripts.csebins.csebins._get_parameters(), cscripts.csmodelselect.csmodelselect._get_parameters(), cscripts.csmodelinfo.csmodelinfo._get_parameters(), cscripts.csmodelmerge.csmodelmerge._get_parameters(), cscripts.csobsinfo.csobsinfo._get_parameters(), cscripts.csfindobs.csfindobs._get_parameters(), cscripts.csiactdata.csiactdata._get_parameters(), cscripts.csiactcopy.csiactcopy._get_parameters(), cscripts.cscaldb.cscaldb._get_parameters(), cscripts.csmodelsois.csmodelsois._get_parameters(), cscripts.csobs2caldb.csobs2caldb._get_parameters(), cscripts.csbkgmodel.csbkgmodel._get_parameters(), cscripts.csfootprint.csfootprint._get_parameters(), cscripts.csiactobs.csiactobs._get_parameters(), cscripts.csobsdef.csobsdef._get_parameters(), cscripts.cslightcrv.cslightcrv._get_parameters(), cscripts.csobsinfo.csobsinfo._gti, cscripts.csobsinfo.csobsinfo._obj_dir, cscripts.csobsinfo.csobsinfo._offsets, cscripts.csobsinfo.csobsinfo._pnt_dec, cscripts.csobsinfo.csobsinfo._pnt_ra, cscripts.csobsinfo.csobsinfo._zeniths, cscripts.csobsinfo.csobsinfo.ebounds(), cscripts.csobsinfo.csobsinfo.gti(), ctobservation.obs(), cscripts.csobsdef.csobsdef.obs(), and cscripts.csiactobs.csiactobs.obs().
def cscripts.csobsinfo.csobsinfo.ras | ( | self | ) |
Return pointings right ascension
Definition at line 365 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._pnt_ra.
def cscripts.csobsinfo.csobsinfo.save | ( | self | ) |
Save pointings into DS9 region file This method saves all pointing directions that are found in the observation container into a DS9 region file. If "NONE" is specified for the "outds9file" parameter the method does nothing.
Definition at line 310 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._pnt_dec, and cscripts.csobsinfo.csobsinfo._pnt_ra.
def cscripts.csobsinfo.csobsinfo.zeniths | ( | self | ) |
Return zenith angles
Definition at line 353 of file csobsinfo.py.
References cscripts.csobsinfo.csobsinfo._zeniths.
|
private |
Definition at line 47 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo.azimuths(), and cscripts.csobsinfo.csobsinfo.process().
|
private |
Definition at line 44 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo._get_parameters(), and cscripts.csobsinfo.csobsinfo.process().
|
private |
Definition at line 50 of file csobsinfo.py.
Referenced by cscripts.csphagen.csphagen.__getstate__(), cscripts.csspec.csspec.__getstate__(), cscripts.cssens.cssens.__getstate__(), cscripts.csspec.csspec.__setstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.csphagen.csphagen.__setstate__(), cscripts.csspec.csspec._fit_energy_bins(), cscripts.cssens.cssens._get_parameters(), cscripts.csphagen.csphagen._get_parameters(), cscripts.csphagen.csphagen._process_observation(), cscripts.csspec.csspec._set_ebounds(), cscripts.csspec.csspec._set_replace_src_spectrum_by_bins(), cscripts.csobsinfo.csobsinfo.ebounds(), and cscripts.csobsinfo.csobsinfo.process().
|
private |
Definition at line 51 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo.gti(), and cscripts.csobsinfo.csobsinfo.process().
|
private |
Definition at line 43 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo._get_parameters(), and cscripts.csobsinfo.csobsinfo.process().
|
private |
Definition at line 45 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo.offsets(), and cscripts.csobsinfo.csobsinfo.process().
|
private |
Definition at line 49 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo.decs(), cscripts.csobsinfo.csobsinfo.process(), and cscripts.csobsinfo.csobsinfo.save().
|
private |
Definition at line 48 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo.process(), cscripts.csobsinfo.csobsinfo.ras(), and cscripts.csobsinfo.csobsinfo.save().
|
private |
Definition at line 46 of file csobsinfo.py.
Referenced by cscripts.csobsinfo.csobsinfo.process(), and cscripts.csobsinfo.csobsinfo.zeniths().