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.2.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

space_phunk-0.1.2-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

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