Skip to main content

STERNE (stars in German) -- aStromeTry bayEsian infeReNcE

Project description

STERNE (stars in German) -- aStromeTry bayEsian infeReNcE

Authors:

Hao Ding and Adam Deller

Installation:

This package can be installed using

pip install sterne

Code Description:

This code is used to run Bayesian inference based on position series acquired with VLBI phase-referencing observations. Such inference has been historically realized with astrometryfit by Adam Deller and Scott Ransom. STERNE is commited to furthering the efforts of astrometryfit and fulfilling new features. As a major new feature, STERNE enables one to infer astrometric parameters for sources sharing some identical astrometric parameters (but different on other astrometric parameters), thus improving the astrometric precision. The scope of the code is mainly VLBI astrometry of nearby pulsars, preferably the astrometry having multiple in-beam calibrators, though the code can also potentially be applied to astrometry of other targets carried out beyond VLBI.

Functions:

  1. infer up to 8 parameters -- parallax, proper motion, reference position, longitude of ascending node, inclination angle (already realized by astrometryfit) and EFAC. For the two (binary) orbital-motion parameters, the Tempo2 convention is adopted to assist comparison with pulsar timing results.
  2. for sources sharing some identical astrometric parameters (e.g. parallax, proper motion), parameters can be inferred together.

Requisites to use STERNE:

  1. planetary ephemerides used by tempo2 are needed, which were downloaded along with TEMPO2.
  2. input positions (normally measured with VLBI) in the traditional "pmpar.in" format (for pmpar).
  3. initsfile (.inits) containing priors for each parameter; a priminary initsfile can be produced with priors.generate_initsfile().
  4. parfile (.par) containing timing parameters (provided by PSRCAT); latest numbers beyond PSRCAT should be updated if possible. See sterne.simulate.py for more details.

Outputs:

The output will be provided in the "outdir" (or a folder name specified by the user) folder under the current directory. Publication-level corner plots can be made with plot.corner() that consumes posterior_samples.dat (or its like).

Usage tips:

  1. be sure to clear away the outdir folder before new inference.
  2. make sure the refepoch for priors match with the one used in the simulation.

Citation guide:

STERNE was first used in Ding et al. 2021. The EFAC feature was added and first employed for Ding et al. 2023.

Acknowledgement:

STERNE makes use of other python packages including numpy, astropy, bilby, psrqpy, novas, matplotlib and corner.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sterne-1.0.2.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sterne-1.0.2-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

Details for the file sterne-1.0.2.tar.gz.

File metadata

  • Download URL: sterne-1.0.2.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for sterne-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1ccf0d56939cd706326e3c05e4f3ec815a36323ac0b03fd123e41d19dea23dbc
MD5 69f5cde452a9315fb5a51d6caedbaab3
BLAKE2b-256 65396371402b440167de568de4471df7883e0750d8a00a54d19bd497493e5093

See more details on using hashes here.

File details

Details for the file sterne-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: sterne-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 44.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for sterne-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7dcddedc32da8bdbf7099b19ee17f48fb660ff0c07dfe09ee9249faed9849adb
MD5 74c55cb5e9cb719c12b7ffe510fd2bac
BLAKE2b-256 d42a20eb17f33e2a437bf83aece85f1e6e880144d796bcfc05382da6b8a8f6ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page