Skip to main content

nsstools

This python tools has two methods that applies on nss_two_body_orbit Gaia DR3 solutions

  • covmat: for all kind of nss_solution_type, converts the correlation matrix+uncertainties to the covariance matrix of the solution
  • campbell: for a NSS solution that is either astrometric Orbital* or AstroSpectroSB1, converts the Thiele-Innes orbital elements to the Campbell elements and propagates the uncertainties. Ref: Halbwachs et al., 2022, Gaia Data Release 3. Astrometric binary star processing, Astronomy and Astrophysics, Appendix A input: dataframe output: dataframe

A R version is available here.

Installation

with pip

pip3 install --user nsstools

with setup

python3 setup.py install

Usage

See the notebook

import pandas as pd
from nsstools import NssSource

nss = pd.read_csv("tests/data/nss_two_body_orbit_sample.csv.gz")
source_index = 0 # position of the source in the csv file

source = NssSource(nss, indice=source_index)
print(source.covmat())
print(source.campbell())

Authors and acknowledgment

Authors: Nicolas Leclerc from a code by Jean-Louis Halbwachs and Carine Babusiaux. Reference: Halbwachs et al., 2022, Gaia Data Release 3. Astrometric binary star processing, Astronomy and Astrophysics, Appendix A and B. R version: https://gricad-gitlab.univ-grenoble-alpes.fr/ipag-public/gaia/nsstools

Metadata

Release files for nsstools 0.1.12

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

Source distribution (sdist)

Source distribution for nsstools 0.1.12
File Size Uploaded
nsstools-0.1.12.tar.gz 5.3 kB Details

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / nsstools-0.1.12.tar.gz

Download URL nsstools-0.1.12.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
47fd6372c856f65b5c4633fc7da89aa048092482867a3375442a4f66bb6f7858
BLAKE2b-256 checksum
How to use checksums
8d162ffc7c4bc782efec35b24ba97a4e52fb385d7bb003a1e5ed6ed9177556cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release files / nsstools-0.1.12-py3-none-any.whl

Download URL nsstools-0.1.12-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4812384d299fa6da1326eaa92cf6d3a5f76a66de7a81db8810cc04624097da1d
BLAKE2b-256 checksum
How to use checksums
6648b2d48712fc84980002a26b27426303cb733ca054c2cc408c4ad2c83874ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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