Skip to main content

pycf3 - Cosmicflows Galaxy Distance-Velocity Calculator client for Python

image


QuatroPe PyCF3 CI ReadTheDocs.org License Python 3.7+ PyPI

Description

pycf3 is a Python client for the Cosmicflows-3 Distance-Velocity Calculator, and NAM Distance-Velocity Calculator

Code Repository & Issues

https://github.com/quatrope/pycf3

License

pycf3 is under The BSD 3 License

The BSD 3-clause license allows you almost unlimited freedom with the software so long as you include the BSD copyright and license notice in it (found in Fulltext).

Basic Install

Execute

$ pip install pycf3

Development Install

Clone this repo and install with pip

$ git clone https://github.com/quatrope/pycf3.git
$ cd pycf3
$ pip install -e .

Quick Usage

>>> import pycf3
>>> cf3 = pycf3.CF3()
>>> result = cf3.calculate_distance(velocity=9000, glon=283, glat=75)
>>> print(result.observed_velocity_)
9000.0
>>> result.observed_distance_
array([136.90134347])

For more information, read the tutorial in the documentation.

Citation

  • If you use the results of this work in your research or other applications, please cite Kourkchi et al. 2020, AJ, 159, 67
  • Please acknowledge pycf3 in any research report or publication that requires citation of any author's work. Our suggested acknowledgment is:

The authors acknowledge the pycf3 project that contributed to the research reported here. <https://pycf3.readthedocs.io/>

ABOUT THE DATA

All data exposed by pycf3 belongs to the project

Cosmicflows-3 Distance-Velocity Calculator (http://edd.ifa.hawaii.edu/CF3calculator/) Copyright (C) Cosmicflows Team - The Extragalactic Distance Database (EDD)

Please cite:

Kourkchi, E., Courtois, H. M., Graziani, R., Hoffman, Y., Pomarede, D., Shaya, E. J., & Tully, R. B. (2020). Cosmicflows-3: Two Distance--Velocity Calculators. The Astronomical Journal, 159(2), 67.

BibText

@ARTICLE{2020AJ....159...67K,
    author = {{Kourkchi}, Ehsan and {Courtois}, H{\'e}l{\`e}ne M. and
        {Graziani}, Romain and {Hoffman}, Yehuda and {Pomar{\`e}de}, Daniel and
        {Shaya}, Edward J. and {Tully}, R. Brent},
    title = "{Cosmicflows-3: Two Distance-Velocity Calculators}",
    journal = {\aj},
    keywords = {590, 1146, 902, 1968, Astrophysics - Cosmology and
        Nongalactic Astrophysics, Astrophysics - Astrophysics of Galaxies,
        Astrophysics - Instrumentation and Methods for Astrophysics},
    year = 2020,
    month = feb,
    volume = {159},
    number = {2},
    eid = {67},
    pages = {67},
    doi = {10.3847/1538-3881/ab620e},
    archivePrefix = {arXiv},
    eprint = {1912.07214},
    primaryClass = {astro-ph.CO},
    adsurl = {https://ui.adsabs.harvard.edu/abs/2020AJ....159...67K},
    adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

Short video description

IMAGE ALT TEXT HERE

Authors

IATE - CIFASIS

This project is part of the QuatroPe scientific tools.

Metadata

Release files for pycf3 2022.11

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

Source distribution (sdist)

Source distribution for pycf3 2022.11
File Size Uploaded Provenance Actions
pycf3-2022.11.tar.gz 18.2 kB Without provenance Details for pycf3-2022.11.tar.gz

Built distribution (wheel)

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

Total release size: 34.8 kB

Release files / pycf3-2022.11.tar.gz

Download URL pycf3-2022.11.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1962e04972c00dba82ee1b4ed7331388020449b10e4fa9f37a399e97e7141df9
BLAKE2b-256 checksum
How to use checksums
a72ccb390b1c26555357778a473c8c062c042e46e2d04d5ad2b7c471f61abcd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Release files / pycf3-2022.11-py3-none-any.whl

Download URL pycf3-2022.11-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fbbc86dfb14748f3204268b7d036a090a310200e947b686ad6cbf5e8e66add7
BLAKE2b-256 checksum
How to use checksums
20872476aa7665c84a4baae791d9e2eb0711dc632e5b2d2a655cb03df8ef2f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0

Security for pycf3 2022.11

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.

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