Skip to main content

Cosmicflows Galaxy Distance-Velocity Calculator client for Python

Project description

pycf3 - Cosmicflows Galaxy Distance-Velocity Calculator client for Python

image


QuatroPe Travis-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}
}

Authors

IATE - CIFASIS

This project is part of the QuatroPe scientific tools.

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

pycf3-2020.12.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

pycf3-2020.12-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file pycf3-2020.12.tar.gz.

File metadata

  • Download URL: pycf3-2020.12.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for pycf3-2020.12.tar.gz
Algorithm Hash digest
SHA256 4c1ae9756945d920958b3634dd0b8cd0194063fa2277cd3e8d64f525facce440
MD5 b1a9a67f00b7ab674ca95290a5e8fdc5
BLAKE2b-256 03d0c36f1391f206e02abe49d316f6919b36aa09d62bf15a13ac35e2e98efa2f

See more details on using hashes here.

File details

Details for the file pycf3-2020.12-py3-none-any.whl.

File metadata

  • Download URL: pycf3-2020.12-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for pycf3-2020.12-py3-none-any.whl
Algorithm Hash digest
SHA256 e874c1b4a682515cc172a5f1599d9cd650b6a719a81261134d05c4fd06864d1d
MD5 6e7d91fb19bb399e6dc7658a3e56c85c
BLAKE2b-256 99d2bf20a8fa9dba1ad18c382f7d6a563ec458ce0b493e480496de31c4e002b7

See more details on using hashes here.

Supported by

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