enterprise_extensions.chromatic package

Submodules

enterprise_extensions.chromatic.chromatic module

enterprise_extensions.chromatic.chromatic.chrom_dual_exp_cusp(toas, freqs, t0=54000, sign_param=- 1.0, log10_Amp_1=- 7, log10_tau_pre_1=1.7, log10_tau_post_1=1.7, log10_Amp_2=- 7, log10_tau_pre_2=1.7, log10_tau_post_2=1.7, symmetric=False, idx1=2, idx2=4)

Chromatic exponential-cusp delay term in TOAs.

Parameters
  • t0 – time of exponential minimum [MJD]

  • tau_pre – 1/e time of exponential before peak [s]

  • tau_post – 1/e time of exponential after peak[s]

  • symmetric – whether or not tau_pre = tau_post

  • log10_Amp – amplitude of cusp

  • sign_param – sign of waveform

  • idx – index of chromatic dependence

Return wf

delay time-series [s]

enterprise_extensions.chromatic.chromatic.chrom_exp_cusp(toas, freqs, log10_Amp=- 7, sign_param=- 1.0, t0=54000, log10_tau_pre=1.7, log10_tau_post=1.7, symmetric=False, idx=2)

Chromatic exponential-cusp delay term in TOAs.

Parameters
  • t0 – time of exponential minimum [MJD]

  • tau_pre – 1/e time of exponential before peak [s]

  • tau_post – 1/e time of exponential after peak[s]

  • symmetric – whether or not tau_pre = tau_post

  • log10_Amp – amplitude of cusp

  • sign_param – sign of waveform

  • idx – index of chromatic dependence

Return wf

delay time-series [s]

enterprise_extensions.chromatic.chromatic.chrom_exp_decay(toas, freqs, log10_Amp=- 7, sign_param=- 1.0, t0=54000, log10_tau=1.7, idx=2)

Chromatic exponential-dip delay term in TOAs.

Parameters
  • t0 – time of exponential minimum [MJD]

  • tau – 1/e time of exponential [s]

  • log10_Amp – amplitude of dip

  • sign_param – sign of waveform

  • idx – index of chromatic dependence

Return wf

delay time-series [s]

enterprise_extensions.chromatic.chromatic.chrom_yearly_sinusoid(toas, freqs, log10_Amp=- 7, phase=0, idx=2)

Chromatic annual sinusoid.

Parameters
  • log10_Amp – amplitude of sinusoid

  • phase – initial phase of sinusoid

  • idx – index of chromatic dependence

Return wf

delay time-series [s]

enterprise_extensions.chromatic.chromatic.chromatic_quad_basis(toas, freqs, idx=4)

Basis for chromatic quadratic function.

Parameters

idx – index of chromatic dependence

Return ret

normalized quadratic basis matrix [Ntoa, 3]

enterprise_extensions.chromatic.chromatic.chromatic_quad_prior(toas)

Prior for chromatic quadratic function.

Return prior

prior-range for quadratic coefficients

enterprise_extensions.chromatic.chromatic.dm_annual_signal(idx=2, name='dm_s1yr')[source]

Returns chromatic annual signal (i.e. TOA advance):

Parameters
  • idx – index of radio frequency dependence (i.e. DM is 2). If this is set to ‘vary’ then the index will vary from 1 - 6

  • name – Name of signal

Return dm1yr

chromatic annual waveform.

enterprise_extensions.chromatic.chromatic.dm_dual_exp_cusp(tmin, tmax, idx1=2, idx2=4, sign='negative', symmetric=False, name='dual_dm_cusp')[source]

Returns chromatic exponential cusp (i.e. TOA advance):

Parameters
  • tmax (tmin,) – search window for exponential cusp time.

  • idx – index of radio frequency dependence (i.e. DM is 2). If this is set to ‘vary’ then the index will vary from 1 - 6

  • sign – set sign of dip: ‘positive’, ‘negative’, or ‘vary’

  • name – Name of signal

Return dmexp

chromatic exponential dip waveform.

enterprise_extensions.chromatic.chromatic.dm_exponential_cusp(tmin, tmax, idx=2, sign='negative', symmetric=False, name='dm_cusp')[source]

Returns chromatic exponential cusp (i.e. TOA advance):

Parameters
  • tmax (tmin,) – search window for exponential cusp time.

  • idx – index of radio frequency dependence (i.e. DM is 2). If this is set to ‘vary’ then the index will vary from 1 - 6

  • sign – set sign of dip: ‘positive’, ‘negative’, or ‘vary’

  • name – Name of signal

Return dmexp

chromatic exponential dip waveform.

enterprise_extensions.chromatic.chromatic.dm_exponential_dip(tmin, tmax, idx=2, sign='negative', name='dmexp')[source]

Returns chromatic exponential dip (i.e. TOA advance):

Parameters
  • tmax (tmin,) – search window for exponential dip time.

  • idx – index of radio frequency dependence (i.e. DM is 2). If this is set to ‘vary’ then the index will vary from 1 - 6

  • sign – set sign of dip: ‘positive’, ‘negative’, or ‘vary’

  • name – Name of signal

Return dmexp

chromatic exponential dip waveform.

enterprise_extensions.chromatic.chromatic.dmx_delay(toas, freqs, dmx_ids, **kwargs)

Delay in DMX model of DM variations.

Parameters
  • dmx_ids – dictionary of DMX data for each pulsar from parfile

  • kwargs – dictionary of enterprise DMX parameters

Return wf

DMX signal

enterprise_extensions.chromatic.chromatic.dmx_signal(dmx_data, name='dmx_signal')[source]

Returns DMX signal:

Parameters
  • dmx_data – dictionary of DMX data for each pulsar from parfile.

  • name – Name of signal.

Return dmx_sig

dmx signal waveform.

enterprise_extensions.chromatic.solar_wind module