enterprise package¶
Subpackages¶
- enterprise.signals package
- Submodules
- enterprise.signals.anis_coefficients module
- enterprise.signals.deterministic_signals module
- enterprise.signals.gp_bases module
- enterprise.signals.gp_priors module
- enterprise.signals.gp_signals module
- enterprise.signals.parameter module
ConstantParameter
FunctionBase
Parameter
Constant()
Function()
GPCoefficients()
LinearExp()
LinearExpPrior()
LinearExpSampler()
Normal()
NormalPrior()
NormalSampler()
TruncNormal()
TruncNormalPrior()
TruncNormalSampler()
Uniform()
UniformPrior()
UniformSampler()
UserParameter()
function()
get_funcargs()
sample()
- enterprise.signals.selections module
- enterprise.signals.signal_base module
BlockMatrix
CommonSignal
LogLikelihood
MetaCollection
MetaSignal
PTA
PTA.get_TNT()
PTA.get_TNr()
PTA.get_basis()
PTA.get_delay()
PTA.get_lnlikelihood()
PTA.get_lnprior()
PTA.get_logsignalprior()
PTA.get_ndiag()
PTA.get_phi()
PTA.get_phiinv()
PTA.get_phiinv_byfreq_cliques()
PTA.get_phiinv_byfreq_partition()
PTA.get_phiinv_sparse()
PTA.get_rNr_logdet()
PTA.get_residuals()
PTA.get_signal()
PTA.items()
PTA.keys()
PTA.map_params()
PTA.set_default_params()
PTA.summary()
PTA.values()
PTA.param_names
PTA.params
PTA.pulsarmodels
PTA.pulsars
PTA.signals
ShermanMorrison
Signal
csc_matrix_alt
ndarray_alt
LogLikelihoodDenseCholesky()
SignalCollection()
cache_call()
simplememobyid()
- enterprise.signals.utils module
ConditionalGP
KernelMatrix
anis_orf()
bwm_delay()
calculate_splus_scross()
create_gw_antenna_pattern()
create_quantization_matrix()
create_stabletimingdesignmatrix()
createfourierdesignmatrix_physicalephem()
dipole_orf()
dmass()
ecl2eq_vec()
eq2ecl_vec()
euler_vec()
get_Fdot()
get_an()
get_bn()
get_cn()
get_coefficients()
get_coupled_constecc_eqns()
get_coupled_ecc_eqns()
get_edot()
get_gammadot()
get_planet_orbital_elements()
hd_orf()
linear_interp_basis()
make_ecc_interpolant()
monopole_orf()
normed_tm_basis()
physical_ephem_delay()
physicalephem_spectrum()
quant2ind()
solve_coupled_constecc_solution()
solve_coupled_ecc_solution()
ss_framerotate()
svd_tm_basis()
tm_prior()
unnormed_tm_basis()
- enterprise.signals.white_signals module
Submodules¶
enterprise.constants module¶
Declares physical constants for use in enterprise. Depends on numpy for base mathematical constants, and scipy.constants for physical constants.
enterprise.pulsar module¶
Class containing pulsar data from timing package [tempo2/PINT].
- class enterprise.pulsar.BasePulsar[source]¶
Bases:
object
Abstract Base Class for Pulsar objects.
- filter_data(start_time=None, end_time=None)[source]¶
Filter data to create a time-slice of overall dataset.
- property Mmat¶
Return ntoa x npar design matrix.
- property backend_flags¶
Return array of backend flags.
Not all TOAs have the same flags for all data sets. In order to facilitate this we have a ranked ordering system that will look for flags. The order is group, g, sys, i, f, fe`+`be.
- property dm¶
Return DM parameter from parfile.
- property dmx¶
Return a dictionary of DMX-parameter values and stoa ranges from parfile.
- property flags¶
Return a dictionary of tim-file flags.
- property freqs¶
Return array of radio frequencies in MHz.
- property iisort¶
Return inverse of sorting indices.
- property isort¶
Return sorting indices.
- property pdist¶
Return tuple of pulsar distance and uncertainty in kpc.
- property phi¶
Return azimuthal angle of pulsar in radians.
- property planetssb¶
Return planetary position vectors at all timestamps
- property pos¶
Return unit vector from SSB to pulsar at fiducial POSEPOCH.
- property pos_t¶
Return unit vector from SSB to pulsar as function of time.
- property residuals¶
Return array of residuals in seconds.
- property stoas¶
Return array of observatory TOAs in seconds.
- property sunssb¶
Return sun position vector at all timestamps
- property telescope¶
Return telescope vector at all timestamps
- property theta¶
Return polar angle of pulsar in radians.
- property toaerrs¶
Return array of TOA errors in seconds.
- property toas¶
Return array of TOAs in seconds.
- class enterprise.pulsar.PintPulsar(toas, model, sort=True, drop_pintpsr=True, planets=True)[source]¶
Bases:
BasePulsar
- class enterprise.pulsar.Tempo2Pulsar(t2pulsar, sort=True, drop_t2pulsar=True, planets=True)[source]¶
Bases:
BasePulsar
enterprise.pulsar_inflate module¶
Defines PulsarInflater class: instances copy a numpy array to shared memory, and (after pickling) will reinflate to a numpy array that refers to the shared data.