Skip to main content

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.

Metadata

Release files for space-phunk 0.1.3

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

Source distribution (sdist)

Source distribution for space-phunk 0.1.3
File Size Uploaded
space_phunk-0.1.3.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for space-phunk 0.1.3
File Interpreter ABI Platform
space_phunk-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / space_phunk-0.1.3.tar.gz

Download URL space_phunk-0.1.3.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b9e73dd2d688a39f00c48d25a534b7ffb4a6e58a62564d87a164c5d72a89c610
BLAKE2b-256 checksum
How to use checksums
475bc32600f1ee08757f75327903ead90176dcc34dd3a37bf05ec956cb523e9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-44-generic

Release files / space_phunk-0.1.3-py3-none-any.whl

Download URL space_phunk-0.1.3-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b647c4fbaf7d95e9b37da4832643c2304a8a3316f6bd470c1e57edf49941dc63
BLAKE2b-256 checksum
How to use checksums
64fcd8d4865b2354705160323e76556c54bf95fc2ff1dcd304b78bcb1fba9556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-44-generic

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1

2 release files

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