ctools 2.1.0.dev
|
Public Member Functions | |
__init__ (self, *argv) | |
__getstate__ (self) | |
__setstate__ (self, state) | |
process (self) | |
save (self) | |
sensitivity (self) | |
Protected Member Functions | |
_get_parameters (self) | |
_median (self, array) | |
_set_source (self) | |
_set_obs (self, emin, emax) | |
_set_obs_ebounds (self, emin, emax) | |
_get_crab_flux (self, emin, emax) | |
_get_sensitivity (self, emin, emax, test_model) | |
_set_src_prefactor (self, test_model, crab_unit, test_crab_flux) | |
_simulate_events (self, obs, rad, enumbins, binsz, npix) | |
_sim_evt_excess (self, enumbins, binsz, npix, n_bck_evts) | |
_predict_flux (self, results, ts) | |
_e_bin (self, ieng) | |
_create_fits (self, results) | |
Protected Attributes | |
_ebounds | |
_obs_ebounds | |
_fits | |
_srcname | |
_ra | |
_dec | |
_log_clients | |
_models | |
_seed | |
_nthreads | |
Computes the CTA sensitivity This class computes the CTA sensitivity for a number of energy bins using ctlike. Spectra are fitted in narrow energy bins to simulated data, and the flux level is determined that leads to a particular significance. The significance is determined using the Test Statistic, defined as twice the likelihood difference between fitting with and without the test source.
cscripts.cssens.cssens.__init__ | ( | self, | |
* | argv ) |
cscripts.cssens.cssens.__getstate__ | ( | self | ) |
Extend ctools.csobservation getstate method to include some members Returns ------- state : dict Pickled instance
Definition at line 69 of file cssens.py.
References cscripts.csfindobs.csfindobs._dec, cscripts.cssens.cssens._dec, cscripts.csebins.csebins._ebounds, cscripts.csiactobs.csiactobs._ebounds, cscripts.csobsinfo.csobsinfo._ebounds, cscripts.csphagen.csphagen._ebounds, cscripts.cssens.cssens._ebounds, cscripts.csspec.csspec._ebounds, cscripts.cslightcrv.cslightcrv._fits, cscripts.csphasecrv.csphasecrv._fits, cscripts.cspull.cspull._fits, cscripts.csresspec.csresspec._fits, cscripts.csscs.csscs._fits, cscripts.cssens.cssens._fits, cscripts.csspec.csspec._fits, cscripts.cstsdist.cstsdist._fits, cscripts.cssens.cssens._log_clients, cscripts.cstsdist.cstsdist._log_clients, cscripts.csbkgmodel.csbkgmodel._models, cscripts.csiactobs.csiactobs._models, cscripts.csmodelinfo.csmodelinfo._models, cscripts.csmodelmerge.csmodelmerge._models, cscripts.csmodelselect.csmodelselect._models, cscripts.csmodelsois.csmodelsois._models, cscripts.csphagen.csphagen._models, cscripts.cssens.cssens._models, cscripts.cssrcdetect.cssrcdetect._models, cscripts.cslightcrv.cslightcrv._nthreads, cscripts.csphagen.csphagen._nthreads, cscripts.csphasecrv.csphasecrv._nthreads, cscripts.cspull.cspull._nthreads, cscripts.csscs.csscs._nthreads, cscripts.cssens.cssens._nthreads, cscripts.csspec.csspec._nthreads, cscripts.cstsdist.cstsdist._nthreads, cscripts.cssens.cssens._obs_ebounds, cscripts.csfindobs.csfindobs._ra, cscripts.cssens.cssens._ra, cscripts.cssens.cssens._seed, cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, and cscripts.cstsmapsplit.cstsmapsplit._srcname.
cscripts.cssens.cssens.__setstate__ | ( | self, | |
state ) |
Extend ctools.csobservation setstate method to include some members Parameters ---------- state : dict Pickled instance
Definition at line 94 of file cssens.py.
References cscripts.csfindobs.csfindobs._dec, cscripts.cssens.cssens._dec, cscripts.csebins.csebins._ebounds, cscripts.csiactobs.csiactobs._ebounds, cscripts.csobsinfo.csobsinfo._ebounds, cscripts.csphagen.csphagen._ebounds, cscripts.cssens.cssens._ebounds, cscripts.csspec.csspec._ebounds, cscripts.cslightcrv.cslightcrv._fits, cscripts.csphasecrv.csphasecrv._fits, cscripts.cspull.cspull._fits, cscripts.csresspec.csresspec._fits, cscripts.csscs.csscs._fits, cscripts.cssens.cssens._fits, cscripts.csspec.csspec._fits, cscripts.cstsdist.cstsdist._fits, cscripts.cssens.cssens._log_clients, cscripts.cstsdist.cstsdist._log_clients, cscripts.csbkgmodel.csbkgmodel._models, cscripts.csiactobs.csiactobs._models, cscripts.csmodelinfo.csmodelinfo._models, cscripts.csmodelmerge.csmodelmerge._models, cscripts.csmodelselect.csmodelselect._models, cscripts.csmodelsois.csmodelsois._models, cscripts.csphagen.csphagen._models, cscripts.cssens.cssens._models, cscripts.cssrcdetect.cssrcdetect._models, cscripts.cslightcrv.cslightcrv._nthreads, cscripts.csphagen.csphagen._nthreads, cscripts.csphasecrv.csphasecrv._nthreads, cscripts.cspull.cspull._nthreads, cscripts.csscs.csscs._nthreads, cscripts.cssens.cssens._nthreads, cscripts.csspec.csspec._nthreads, cscripts.cstsdist.cstsdist._nthreads, cscripts.cssens.cssens._obs_ebounds, cscripts.csfindobs.csfindobs._ra, cscripts.cssens.cssens._ra, cscripts.cssens.cssens._seed, cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, and cscripts.cstsmapsplit.cstsmapsplit._srcname.
|
protected |
Create FITS file from results Parameters ---------- results : list of dict List of result dictionaries
Definition at line 1027 of file cssens.py.
References cscripts.cslightcrv.cslightcrv._fits, cscripts.csphasecrv.csphasecrv._fits, cscripts.cspull.cspull._fits, cscripts.csresspec.csresspec._fits, cscripts.csscs.csscs._fits, cscripts.cssens.cssens._fits, cscripts.csspec.csspec._fits, cscripts.cstsdist.cstsdist._fits, cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, and cscripts.cstsmapsplit.cstsmapsplit._srcname.
Referenced by cscripts.csphasecrv.csphasecrv._save_fits(), cscripts.csphasecrv.csphasecrv.process(), cscripts.cspull.cspull.process(), cscripts.cssens.cssens.process(), cscripts.csspec.csspec.process(), and cscripts.cstsdist.cstsdist.process().
|
protected |
Determines sensivity in energy bin Parameters ---------- ieng : int Energy bin number Returns ------- result : dict Result dictionary
Definition at line 991 of file cssens.py.
References cscripts.csebins.csebins._ebounds, cscripts.csiactobs.csiactobs._ebounds, cscripts.csobsinfo.csobsinfo._ebounds, cscripts.csphagen.csphagen._ebounds, cscripts.cssens.cssens._ebounds, cscripts.csspec.csspec._ebounds, cscripts.cssens.cssens._get_sensitivity(), cscripts.csbkgmodel.csbkgmodel._models, cscripts.csiactobs.csiactobs._models, cscripts.csmodelinfo.csmodelinfo._models, cscripts.csmodelmerge.csmodelmerge._models, cscripts.csmodelselect.csmodelselect._models, cscripts.csmodelsois.csmodelsois._models, cscripts.csphagen.csphagen._models, cscripts.cssens.cssens._models, and cscripts.cssrcdetect.cssrcdetect._models.
Referenced by cscripts.cssens.cssens.process().
|
protected |
Return Crab photon flux in a given energy interval Parameters ---------- emin : `~gammalib.GEnergy` Minimum energy emax : `~gammalib.GEnergy` Maximum energy Returns ------- flux : float Crab photon flux in specified energy interval (ph/cm2/s)
Definition at line 357 of file cssens.py.
Referenced by cscripts.cssens.cssens._get_sensitivity().
|
protected |
Get user parameters from parfile
Definition at line 120 of file cssens.py.
References cscripts.csebins.csebins._ebounds, cscripts.csiactobs.csiactobs._ebounds, cscripts.csobsinfo.csobsinfo._ebounds, cscripts.csphagen.csphagen._ebounds, cscripts.cssens.cssens._ebounds, cscripts.csspec.csspec._ebounds, cscripts.cslightcrv.cslightcrv._nthreads, cscripts.csphagen.csphagen._nthreads, cscripts.csphasecrv.csphasecrv._nthreads, cscripts.cspull.cspull._nthreads, cscripts.csscs.csscs._nthreads, cscripts.cssens.cssens._nthreads, cscripts.csspec.csspec._nthreads, cscripts.cstsdist.cstsdist._nthreads, cscripts.cssens.cssens._seed, cscripts.cssens.cssens._set_obs(), cscripts.cssens.cssens._set_source(), cscripts.csiactobs.csiactobs.obs(), cscripts.csobsdef.csobsdef.obs(), ctobservation.obs(), and ctobservation.obs().
Referenced by cscripts.csadd2caldb.csadd2caldb.process(), cscripts.csbkgmodel.csbkgmodel.process(), cscripts.cscaldb.cscaldb.process(), cscripts.csebins.csebins.process(), cscripts.csfindobs.csfindobs.process(), cscripts.csfootprint.csfootprint.process(), cscripts.csiactcopy.csiactcopy.process(), cscripts.csiactdata.csiactdata.process(), cscripts.csiactobs.csiactobs.process(), cscripts.cslightcrv.cslightcrv.process(), cscripts.csmodelinfo.csmodelinfo.process(), cscripts.csmodelmerge.csmodelmerge.process(), cscripts.csmodelselect.csmodelselect.process(), cscripts.csmodelsois.csmodelsois.process(), cscripts.csobs2caldb.csobs2caldb.process(), cscripts.csobsdef.csobsdef.process(), cscripts.csobsinfo.csobsinfo.process(), cscripts.csobsselect.csobsselect.process(), cscripts.csphagen.csphagen.process(), cscripts.csphasecrv.csphasecrv.process(), cscripts.cspull.cspull.process(), cscripts.csresmap.csresmap.process(), cscripts.csresspec.csresspec.process(), cscripts.csroot2caldb.csroot2caldb.process(), cscripts.csscs.csscs.process(), cscripts.cssens.cssens.process(), cscripts.csspec.csspec.process(), cscripts.cssrcdetect.cssrcdetect.process(), cscripts.cstsdist.cstsdist.process(), cscripts.cstsmapmerge.cstsmapmerge.process(), cscripts.cstsmapsplit.cstsmapsplit.process(), cscripts.csviscube.csviscube.process(), and cscripts.csworkflow.csworkflow.process().
|
protected |
Determine sensitivity for given observations Parameters ---------- emin : `~gammalib.GEnergy` Minimum energy for fitting and flux computation emax : `~gammalib.GEnergy` Maximum energy for fitting and flux computation test_model : `~gammalib.GModels` Test source model Returns ------- result : dict Result dictionary
Definition at line 383 of file cssens.py.
References cscripts.cssens.cssens._get_crab_flux(), cscripts.cssens.cssens._log_clients, cscripts.cstsdist.cstsdist._log_clients, cscripts.cssens.cssens._obs_ebounds, cscripts.cssens.cssens._predict_flux(), cscripts.cssens.cssens._seed, cscripts.cssens.cssens._set_obs_ebounds(), cscripts.cssens.cssens._set_src_prefactor(), cscripts.cssens.cssens._sim_evt_excess(), cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, cscripts.cstsmapsplit.cstsmapsplit._srcname, cscripts.csiactobs.csiactobs.obs(), cscripts.csobsdef.csobsdef.obs(), ctobservation.obs(), and ctobservation.obs().
Referenced by cscripts.cssens.cssens._e_bin().
|
protected |
Compute median value for an array Parameters ---------- array : list of floats Array Returns ------- median : float Median value of array
Definition at line 178 of file cssens.py.
Referenced by cscripts.cssens.cssens._simulate_events().
|
protected |
Predict Crab flux for a given TS value The Crab flux at a given Test Statistic value is predicted by doing a linear regression of the log(TS) and log(crab_flux) values in a results list. See https://en.wikipedia.org/wiki/Simple_linear_regression Parameters ---------- results : list of dict List of results ts : float Test Statistic value Returns ------- crab_flux_prediction, regcoeff : tuple of float Predicted Crab flux and regression coefficient
Definition at line 919 of file cssens.py.
Referenced by cscripts.cssens.cssens._get_sensitivity().
|
protected |
Set an observation container Parameters ---------- emin : float Minimum energy (TeV) emax : float Maximum energy (TeV) Returns ------- obs : `~gammalib.GObservations` Observation container
Definition at line 240 of file cssens.py.
Referenced by cscripts.cssens.cssens._get_parameters().
|
protected |
Set energy boundaries for all observations in container Parameters ---------- emin : `~gammalib.GEnergy` Minimum energy emax : `~gammalib.GEnergy` Maximum energy
Definition at line 307 of file cssens.py.
References cscripts.cssens.cssens._obs_ebounds, cscripts.csiactobs.csiactobs.obs(), cscripts.csobsdef.csobsdef.obs(), ctobservation.obs(), and ctobservation.obs().
Referenced by cscripts.cssens.cssens._get_sensitivity().
|
protected |
Set source name and position
Definition at line 213 of file cssens.py.
References cscripts.csfindobs.csfindobs._dec, cscripts.cssens.cssens._dec, cscripts.csfindobs.csfindobs._ra, cscripts.cssens.cssens._ra, cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, cscripts.cstsmapsplit.cstsmapsplit._srcname, cscripts.csiactobs.csiactobs.obs(), cscripts.csobsdef.csobsdef.obs(), ctobservation.obs(), and ctobservation.obs().
Referenced by cscripts.cssens.cssens._get_parameters().
|
protected |
Create a copy of the test models, set the normalisation parameter of the test source in the models, and append the models to the observation. Parameters ---------- test_model : `~gammalib.GModels` Test source model crab_unit : float Crab unit factor test_crab_flux : float Test flux in Crab units (100 mCrab) Returns ------- crab_prefactor : float the prefactor that corresponds to a flux of 1 Crab.
Definition at line 724 of file cssens.py.
References cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, cscripts.cstsmapsplit.cstsmapsplit._srcname, cscripts.csiactobs.csiactobs.obs(), cscripts.csobsdef.csobsdef.obs(), ctobservation.obs(), and ctobservation.obs().
Referenced by cscripts.cssens.cssens._get_sensitivity().
|
protected |
Return the number of excess events for the source model, compared to all other models Parameters ---------- enumbins : int Number of bins for the observation simulation binsz : float Bin size for the observation simulation npix : int Pixel size for the observation simulation n_bck_evts : int Number of background counts from previous call Returns ------- pass_evt_cut : bool Signals that the source passes the minimal excess criteria n_bck_evts : int Number of background counts
Definition at line 841 of file cssens.py.
References cscripts.cssens.cssens._simulate_events(), cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, cscripts.cstsmapsplit.cstsmapsplit._srcname, cscripts.csiactobs.csiactobs.obs(), cscripts.csobsdef.csobsdef.obs(), ctobservation.obs(), and ctobservation.obs().
Referenced by cscripts.cssens.cssens._get_sensitivity().
|
protected |
Simulate events Parameters ---------- obs : `~gammalib.GObservations` Observation container rad : float Simulation selection radius (degrees) enumbins : integer Number of energy bins binsz : float Pixel size npix : integer Number of pixels
Definition at line 778 of file cssens.py.
References cscripts.cssens.cssens._log_clients, cscripts.cstsdist.cstsdist._log_clients, cscripts.cssens.cssens._median(), and cscripts.cssens.cssens._seed.
Referenced by cscripts.cssens.cssens._sim_evt_excess().
cscripts.cssens.cssens.process | ( | self | ) |
Process the script
Definition at line 1115 of file cssens.py.
References cscripts.csphasecrv.csphasecrv._create_fits(), cscripts.cspull.cspull._create_fits(), cscripts.cssens.cssens._create_fits(), cscripts.csspec.csspec._create_fits(), cscripts.cstsdist.cstsdist._create_fits(), cscripts.csfindobs.csfindobs._dec, cscripts.cssens.cssens._dec, cscripts.cssens.cssens._e_bin(), cscripts.csebins.csebins._ebounds, cscripts.csiactobs.csiactobs._ebounds, cscripts.csobsinfo.csobsinfo._ebounds, cscripts.csphagen.csphagen._ebounds, cscripts.cssens.cssens._ebounds, cscripts.csspec.csspec._ebounds, cscripts.csadd2caldb.csadd2caldb._get_parameters(), cscripts.csbkgmodel.csbkgmodel._get_parameters(), cscripts.cscaldb.cscaldb._get_parameters(), cscripts.csebins.csebins._get_parameters(), cscripts.csfindobs.csfindobs._get_parameters(), cscripts.csfootprint.csfootprint._get_parameters(), cscripts.csiactcopy.csiactcopy._get_parameters(), cscripts.csiactdata.csiactdata._get_parameters(), cscripts.csiactobs.csiactobs._get_parameters(), cscripts.cslightcrv.cslightcrv._get_parameters(), cscripts.csmodelinfo.csmodelinfo._get_parameters(), cscripts.csmodelmerge.csmodelmerge._get_parameters(), cscripts.csmodelselect.csmodelselect._get_parameters(), cscripts.csmodelsois.csmodelsois._get_parameters(), cscripts.csobs2caldb.csobs2caldb._get_parameters(), cscripts.csobsdef.csobsdef._get_parameters(), cscripts.csobsinfo.csobsinfo._get_parameters(), cscripts.csobsselect.csobsselect._get_parameters(), cscripts.csphagen.csphagen._get_parameters(), cscripts.csphasecrv.csphasecrv._get_parameters(), cscripts.cspull.cspull._get_parameters(), cscripts.csresmap.csresmap._get_parameters(), cscripts.csresspec.csresspec._get_parameters(), cscripts.csroot2caldb.csroot2caldb._get_parameters(), cscripts.csscs.csscs._get_parameters(), cscripts.cssens.cssens._get_parameters(), cscripts.csspec.csspec._get_parameters(), cscripts.cssrcdetect.cssrcdetect._get_parameters(), cscripts.cstsdist.cstsdist._get_parameters(), cscripts.cstsmapmerge.cstsmapmerge._get_parameters(), cscripts.cstsmapsplit.cstsmapsplit._get_parameters(), cscripts.csviscube.csviscube._get_parameters(), cscripts.csworkflow.csworkflow._get_parameters(), cscripts.csbkgmodel.csbkgmodel._models, cscripts.csiactobs.csiactobs._models, cscripts.csmodelinfo.csmodelinfo._models, cscripts.csmodelmerge.csmodelmerge._models, cscripts.csmodelselect.csmodelselect._models, cscripts.csmodelsois.csmodelsois._models, cscripts.csphagen.csphagen._models, cscripts.cssens.cssens._models, cscripts.cssrcdetect.cssrcdetect._models, cscripts.cslightcrv.cslightcrv._nthreads, cscripts.csphagen.csphagen._nthreads, cscripts.csphasecrv.csphasecrv._nthreads, cscripts.cspull.cspull._nthreads, cscripts.csscs.csscs._nthreads, cscripts.cssens.cssens._nthreads, cscripts.csspec.csspec._nthreads, cscripts.cstsdist.cstsdist._nthreads, cscripts.cssens.cssens._obs_ebounds, cscripts.csfindobs.csfindobs._ra, cscripts.cssens.cssens._ra, cscripts.cslightcrv.cslightcrv._srcname, cscripts.csphagen.csphagen._srcname, cscripts.csphasecrv.csphasecrv._srcname, cscripts.cssens.cssens._srcname, cscripts.cstsdist.cstsdist._srcname, cscripts.cstsmapsplit.cstsmapsplit._srcname, cscripts.csiactobs.csiactobs.obs(), cscripts.csobsdef.csobsdef.obs(), ctobservation.obs(), and ctobservation.obs().
cscripts.cssens.cssens.save | ( | self | ) |
Save sensitivity FITS file
Definition at line 1177 of file cssens.py.
References cscripts.cslightcrv.cslightcrv._fits, cscripts.csphasecrv.csphasecrv._fits, cscripts.cspull.cspull._fits, cscripts.csresspec.csresspec._fits, cscripts.csscs.csscs._fits, cscripts.cssens.cssens._fits, cscripts.csspec.csspec._fits, and cscripts.cstsdist.cstsdist._fits.
cscripts.cssens.cssens.sensitivity | ( | self | ) |
Return sensitivity FITS file Returns: FITS file containing sensitivity curve
Definition at line 1199 of file cssens.py.
References cscripts.cslightcrv.cslightcrv._fits, cscripts.csphasecrv.csphasecrv._fits, cscripts.cspull.cspull._fits, cscripts.csresspec.csresspec._fits, cscripts.csscs.csscs._fits, cscripts.cssens.cssens._fits, cscripts.csspec.csspec._fits, and cscripts.cstsdist.cstsdist._fits.
|
protected |
|
protected |
Definition at line 54 of file cssens.py.
Referenced by cscripts.csphagen.csphagen.__getstate__(), cscripts.cssens.cssens.__getstate__(), cscripts.csspec.csspec.__getstate__(), cscripts.csphagen.csphagen.__setstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.csspec.csspec.__setstate__(), cscripts.csspec.csspec._adjust_model_pars(), cscripts.csspec.csspec._create_fits(), cscripts.cssens.cssens._e_bin(), cscripts.csphagen.csphagen._etrue_ebounds(), cscripts.csspec.csspec._fit_energy_bin(), cscripts.csspec.csspec._fit_energy_bins(), cscripts.csspec.csspec._fit_model(), cscripts.csphagen.csphagen._get_parameters(), cscripts.cssens.cssens._get_parameters(), cscripts.csebins.csebins._insert_energy(), cscripts.csspec.csspec._log_spectral_binning(), cscripts.csphagen.csphagen._process_observation(), cscripts.csebins.csebins._set_ebounds(), cscripts.csspec.csspec._set_ebounds(), cscripts.csspec.csspec._set_replace_src_spectrum_by_bins(), cscripts.csspec.csspec._set_replace_src_spectrum_by_nodes(), cscripts.csiactobs.csiactobs._write_summary(), cscripts.csebins.csebins.ebounds(), cscripts.csiactobs.csiactobs.ebounds(), cscripts.csobsinfo.csobsinfo.ebounds(), cscripts.csiactobs.csiactobs.process(), cscripts.csobsinfo.csobsinfo.process(), cscripts.csphagen.csphagen.process(), cscripts.cssens.cssens.process(), and cscripts.csebins.csebins.save().
|
protected |
Definition at line 56 of file cssens.py.
Referenced by cscripts.cslightcrv.cslightcrv.__getstate__(), cscripts.csphasecrv.csphasecrv.__getstate__(), cscripts.cspull.cspull.__getstate__(), cscripts.csscs.csscs.__getstate__(), cscripts.cssens.cssens.__getstate__(), cscripts.csspec.csspec.__getstate__(), cscripts.cstsdist.cstsdist.__getstate__(), cscripts.cslightcrv.cslightcrv.__setstate__(), cscripts.csphasecrv.csphasecrv.__setstate__(), cscripts.cspull.cspull.__setstate__(), cscripts.csscs.csscs.__setstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.csspec.csspec.__setstate__(), cscripts.cstsdist.cstsdist.__setstate__(), cscripts.csphasecrv.csphasecrv._create_fits(), cscripts.cspull.cspull._create_fits(), cscripts.cssens.cssens._create_fits(), cscripts.csspec.csspec._create_fits(), cscripts.cstsdist.cstsdist._create_fits(), cscripts.csscs.csscs._get_skymap(), cscripts.csphasecrv.csphasecrv._save_fits(), cscripts.csscs.csscs.fits(), cscripts.cslightcrv.cslightcrv.lightcurve(), cscripts.cslightcrv.cslightcrv.process(), cscripts.csresspec.csresspec.process(), cscripts.csscs.csscs.process(), cscripts.cslightcrv.cslightcrv.publish(), cscripts.csphasecrv.csphasecrv.publish(), cscripts.csspec.csspec.publish(), cscripts.cspull.cspull.pull_distribution(), cscripts.csresspec.csresspec.resspec(), cscripts.cslightcrv.cslightcrv.save(), cscripts.cspull.cspull.save(), cscripts.csresspec.csresspec.save(), cscripts.csscs.csscs.save(), cscripts.cssens.cssens.save(), cscripts.csspec.csspec.save(), cscripts.cstsdist.cstsdist.save(), cscripts.cssens.cssens.sensitivity(), cscripts.csspec.csspec.spectrum(), and cscripts.cstsdist.cstsdist.ts_distribution().
|
protected |
Definition at line 60 of file cssens.py.
Referenced by cscripts.cssens.cssens.__getstate__(), cscripts.cstsdist.cstsdist.__getstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.cstsdist.cstsdist.__setstate__(), cscripts.cssens.cssens._get_sensitivity(), cscripts.cstsdist.cstsdist._sim(), and cscripts.cssens.cssens._simulate_events().
|
protected |
Definition at line 61 of file cssens.py.
Referenced by cscripts.csbkgmodel.csbkgmodel.__getstate__(), cscripts.csphagen.csphagen.__getstate__(), cscripts.cssens.cssens.__getstate__(), cscripts.csbkgmodel.csbkgmodel.__setstate__(), cscripts.csphagen.csphagen.__setstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.cssrcdetect.cssrcdetect._add_model(), cscripts.csiactobs.csiactobs._append_inmodels(), cscripts.cssens.cssens._e_bin(), cscripts.csmodelsois.csmodelsois._gen_cubemodel(), cscripts.csbkgmodel.csbkgmodel._generate_runwise_bkg(), cscripts.csmodelinfo.csmodelinfo._get_parameters(), cscripts.csmodelselect.csmodelselect._get_parameters(), cscripts.csphagen.csphagen._get_parameters(), cscripts.csphagen.csphagen._get_parameters_bkgmethod_custom(), cscripts.csphagen.csphagen._get_parameters_bkgmethod_off(), cscripts.csphagen.csphagen._process_observation(), cscripts.csphagen.csphagen._set_models(), cscripts.csbkgmodel.csbkgmodel.models(), cscripts.csmodelsois.csmodelsois.models(), cscripts.cssrcdetect.cssrcdetect.models(), cscripts.csiactobs.csiactobs.obs(), cscripts.csbkgmodel.csbkgmodel.process(), cscripts.csiactobs.csiactobs.process(), cscripts.csmodelinfo.csmodelinfo.process(), cscripts.csmodelmerge.csmodelmerge.process(), cscripts.csmodelselect.csmodelselect.process(), cscripts.cssens.cssens.process(), cscripts.cssrcdetect.cssrcdetect.process(), cscripts.csbkgmodel.csbkgmodel.save(), cscripts.csiactobs.csiactobs.save(), cscripts.csmodelinfo.csmodelinfo.save(), cscripts.csmodelmerge.csmodelmerge.save(), and cscripts.csmodelsois.csmodelsois.save().
|
protected |
Definition at line 63 of file cssens.py.
Referenced by cscripts.cslightcrv.cslightcrv.__getstate__(), cscripts.csphagen.csphagen.__getstate__(), cscripts.csphasecrv.csphasecrv.__getstate__(), cscripts.cspull.cspull.__getstate__(), cscripts.csscs.csscs.__getstate__(), cscripts.cssens.cssens.__getstate__(), cscripts.csspec.csspec.__getstate__(), cscripts.cstsdist.cstsdist.__getstate__(), cscripts.cslightcrv.cslightcrv.__setstate__(), cscripts.csphagen.csphagen.__setstate__(), cscripts.csphasecrv.csphasecrv.__setstate__(), cscripts.cspull.cspull.__setstate__(), cscripts.csscs.csscs.__setstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.csspec.csspec.__setstate__(), cscripts.cstsdist.cstsdist.__setstate__(), cscripts.csspec.csspec._fit_energy_bins(), cscripts.cslightcrv.cslightcrv._get_parameters(), cscripts.csphagen.csphagen._get_parameters(), cscripts.csphasecrv.csphasecrv._get_parameters(), cscripts.cspull.cspull._get_parameters(), cscripts.csscs.csscs._get_parameters(), cscripts.cssens.cssens._get_parameters(), cscripts.csspec.csspec._get_parameters(), cscripts.cstsdist.cstsdist._get_parameters(), cscripts.cslightcrv.cslightcrv.process(), cscripts.csphagen.csphagen.process(), cscripts.csphasecrv.csphasecrv.process(), cscripts.cspull.cspull.process(), cscripts.csscs.csscs.process(), cscripts.cssens.cssens.process(), and cscripts.cstsdist.cstsdist.process().
|
protected |
Definition at line 55 of file cssens.py.
Referenced by cscripts.cssens.cssens.__getstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.cssens.cssens._get_sensitivity(), cscripts.cssens.cssens._set_obs_ebounds(), and cscripts.cssens.cssens.process().
|
protected |
|
protected |
Definition at line 62 of file cssens.py.
Referenced by cscripts.cssens.cssens.__getstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.cssens.cssens._get_parameters(), cscripts.cssens.cssens._get_sensitivity(), and cscripts.cssens.cssens._simulate_events().
|
protected |
Definition at line 57 of file cssens.py.
Referenced by cscripts.cslightcrv.cslightcrv.__getstate__(), cscripts.csphagen.csphagen.__getstate__(), cscripts.csphasecrv.csphasecrv.__getstate__(), cscripts.cssens.cssens.__getstate__(), cscripts.cstsdist.cstsdist.__getstate__(), cscripts.cslightcrv.cslightcrv.__setstate__(), cscripts.csphagen.csphagen.__setstate__(), cscripts.csphasecrv.csphasecrv.__setstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.cstsdist.cstsdist.__setstate__(), cscripts.cslightcrv.cslightcrv._adjust_model_pars(), cscripts.cstsmapsplit.cstsmapsplit._compute_null_hypothesis(), cscripts.cslightcrv.cslightcrv._compute_ulimit(), cscripts.csphasecrv.csphasecrv._create_fits(), cscripts.cssens.cssens._create_fits(), cscripts.cslightcrv.cslightcrv._create_fits_table(), cscripts.csphasecrv.csphasecrv._create_fits_table(), cscripts.cslightcrv.cslightcrv._get_free_par_names(), cscripts.csphasecrv.csphasecrv._get_free_par_names(), cscripts.cslightcrv.cslightcrv._get_parameters(), cscripts.csphagen.csphagen._get_parameters(), cscripts.csphasecrv.csphasecrv._get_parameters(), cscripts.cstsdist.cstsdist._get_parameters(), cscripts.cstsmapsplit.cstsmapsplit._get_parameters(), cscripts.cssens.cssens._get_sensitivity(), cscripts.csphagen.csphagen._process_observation(), cscripts.cssens.cssens._set_source(), cscripts.cssens.cssens._set_src_prefactor(), cscripts.cssens.cssens._sim_evt_excess(), cscripts.cslightcrv.cslightcrv._timebin(), cscripts.cstsdist.cstsdist._trial(), cscripts.cssens.cssens.process(), cscripts.cstsdist.cstsdist.process(), and cscripts.cstsmapsplit.cstsmapsplit.process().