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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nsstools-0.1.12.tar.gz | 5.3 kB | Without provenance | Details for nsstools-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nsstools-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for nsstools-0.1.12-py3-none-any.whl |
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
|
Security for nsstools 0.1.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.