Skip to content

Asteroid phase curve fitting with different models

License

Notifications You must be signed in to change notification settings

maxmahlke/phunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Asteroid phase curve fitting with different models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages