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

Availability: This code will be able to install by "pip install sterne".

Code Description: This code generalises on astrometryfit (https://github.com/adamdeller/astrometryfit) by Adam Deller and Scott Ransom. The generalisation enables one to infer astrometric parameters for sources sharing some identical astrometric parameters (but different on other astrometric parameters). The scope of the code is mainly VLBI astrometry of nearby pulsars, preferably the astrometry having multiple in-beam calibrators. However, there is no doubt the code can be applied to astrometry of other targets carried out beyond VLBI.

Functions:

  1. infer up to 8 parameters -- parallax, proper motion, reference position, efac, longitude of ascending node and inclination angle (already realized by astrometryfit). 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 (new feature).

Requisites to use Sterne:

  1. planetary ephemerides used by tempo2 are needed, which can be downloaded along with tempo2 at https://bitbucket.org/psrsoft/tempo2/downloads/.
  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.

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.1.tar.gz (39.3 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.1-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sterne-1.0.1.tar.gz
  • Upload date:
  • Size: 39.3 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.1.tar.gz
Algorithm Hash digest
SHA256 4db06acc43a963fced25acfa0179721c29ce8e5639988f9612c08862f899c099
MD5 f5eaa258dfae44509e6908238a2e310c
BLAKE2b-256 d119301cafb4e0f84f89f1d0fc11888acb3e0f291f4417fc6a00dc2e8d7faf26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sterne-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 43.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dee754094060d453cda8cfa49da9a547c5aa056218f70b526b7f9b7b9f2dd664
MD5 3815d48c929c6a187db4a78813a45b89
BLAKE2b-256 802da542f6b44acd2441d2842d920f248c15f4fc2f30fcbf453c610b41b8ec04

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