Skip to main content

Fit photometric phase curves of asteroids.

Project description

Features - Install - Documentation

Features

Observe the phase curve of an asteroid, ...

>>> from phunk import PhaseCurve
>>> # Observations of (20) Massalia from Gehrels 1956
>>> phase = [0.57, 1.09, 3.20, 10.99, 14.69, 20.42]  # in degrees
>>> mag = [6.555, 6.646, 6.793, 7.130, 7.210, 7.414]
>>> epoch = [35193, 35194, 35198, 35214, 35223, 35242]  # in MJD
>>> pc = PhaseCurve(phase=phase, mag=mag, epoch=epoch, target='massalia')

..., fit it in one of multiple photometric models, ....

>>> pc.fit(["HG", "HG12", "HG12S", "HG1G2", "sHG1G2", "LinExp"])

..., and plot / process the results.

>>> pc.HG1G2.H
>>> pc.HG12.H
>>> pc.plot()

Massalia

Install

Install from PyPi using pip:

 $ pip install space-phunk

The minimum required python version is 3.8.

Documentation

Check out the documentation at phunk.readthedocs.io.

Acknowledgements

This package uses photometric model implementations provided by sbpy and fink.

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

space_phunk-0.1.3.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

space_phunk-0.1.3-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file space_phunk-0.1.3.tar.gz.

File metadata

  • Download URL: space_phunk-0.1.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-44-generic

File hashes

Hashes for space_phunk-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b9e73dd2d688a39f00c48d25a534b7ffb4a6e58a62564d87a164c5d72a89c610
MD5 3b393b063e5c0d46feed3bc1d5d70e37
BLAKE2b-256 475bc32600f1ee08757f75327903ead90176dcc34dd3a37bf05ec956cb523e9c

See more details on using hashes here.

File details

Details for the file space_phunk-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: space_phunk-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-44-generic

File hashes

Hashes for space_phunk-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b647c4fbaf7d95e9b37da4832643c2304a8a3316f6bd470c1e57edf49941dc63
MD5 dcd8a5acac5244d631d44579fe5583c0
BLAKE2b-256 64fcd8d4865b2354705160323e76556c54bf95fc2ff1dcd304b78bcb1fba9556

See more details on using hashes here.

Supported by

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