Skip to main content

MCMC2ndGenTDI

This generates MCMC samples of parameters to estimate the time-varying LISA spacecraft separations required for laser frequency noise suppression in time-delay interferometry (TDI). See the paper published on the subject here. The data to sample over is generated with LISA Instrument and LISA Orbits, so the naming and labeling conventions may look similar to their codes for clarity.

The default settings for creating a BayesTDI() class instance are for LISA data generated with Keplerian orbit model parameterization, i.e. ({M01,a,w}--> Lij(t)).

If running Keplerian orbit model parameterization, i.e. ({M01,a,w}--> Lij(t))

  1. generate_data_Keplerian.ipynb (and follow directions within)
  2. example_mcmc_run.ipynb (and follow directions for Keplerian within)

Sampling for arbitrary numerical orbits: The spacecraft separations are parameterized by 6 orbital elements that differ for each of the 3 spacecraft. See the paper for more details. Successful sampling is still a work in progress, but directions for the numerical options are found in example_mcmc_run.ipynb.

If running numerical orbit model (18-parameter) parameterization:

  1. generate_data-ESA.ipynb
  2. elements_from_Cartesian.ipynb
  3. example_mcmc_run.ipynb (and follow directions for numerical/esa within)

Installation

pip install mcmc2ndgentdi

Current version does not link to default data file that is included in package. Currently, you must download the repository zip file and put the data files in the directory you run your code from.

Example Use

from mcmc2ndgentdi.run_mcmc_TDI import BayesTDI

Create BayesTDI() class instance. Set all arguments here. If running data that used numerical orbit model (18 parameter model) run first example and comment line 2, if running data that used Keplerian model, use second example and comment line 1.

#b1 = BayesTDI('LISA_Instrument_ESA_orbits_tcb_orbits_4_Hz_3600_sec.dat', cut_off=0,f_s=4.0,t_init= 13100.00,f_min= 5.0e-4,f_max = 0.1,orbit_model='esa',orbital_elements_file='elements_from_Cartesian_4_Hz_3600_sec.dat',tcb=True,number_n=7,Nens = 37,Nburnin = 100,Nsamples = 100000)
b1 = BayesTDI('LISA_Instrument_Keplerian_orbits_ppr_orbits_4_Hz_3600_sec.dat', cut_off=0,f_s=4.0,t_init=0.0,f_min= 5.0e-4,f_max = 0.1,orbit_model='keplerian',orbital_elements_file=None,tcb=False,number_n=7,Nens = 37,Nburnin = 100,Nsamples = 100000)

Initialize best einsum path for FDI filter

einsum_path_to_use = b1.get_einsum_path()

Run either zeus sampler for numerical orbit model data (18-parameter model; still under development for converged posteriors) or the working Keplerian orbit model parameterization.

b1.run_emcee_Keplerian_mcmc(einsum_path_to_use)

Metadata

Release files for mcmc2ndgentdi 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcmc2ndgentdi 1.0.10
File Size Uploaded
mcmc2ndgentdi-1.0.10.tar.gz 19.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcmc2ndgentdi 1.0.10
File Interpreter ABI Platform
mcmc2ndgentdi-1.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 38.4 MB

Release files / mcmc2ndgentdi-1.0.10.tar.gz

Download URL mcmc2ndgentdi-1.0.10.tar.gz
Size 19.1 MB
Tags Source
SHA-256 checksum
How to use checksums
eaee60dbc68a71e5d41dd04822fd7c2f0573eeea5654ca84bcde3347d114545e
BLAKE2b-256 checksum
How to use checksums
1ef1e82c1bcc8acc54db48dab01f047faee7bb3278e0f34d9e0021b7cd906bac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.1 Darwin/21.6.0

Release files / mcmc2ndgentdi-1.0.10-py3-none-any.whl

Download URL mcmc2ndgentdi-1.0.10-py3-none-any.whl
Size 19.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a3e0a45376499fc8377a4520bce6122fae490ad88269433a4462ca15bee091e5
BLAKE2b-256 checksum
How to use checksums
26475acf0e554ba40276bc998cefcd0c1e145b6bda1131f1c327c594ce1392cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.1 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

1.0.10 This release

2 release files

1.0.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page