Skip to main content

Implementation of phase function for asteroids in Python

Project description

Pyedra

logo

Build Status Documentation Status PyPI https://github.com/leliel12/diseno_sci_sfw

Pyedra is a python library that allows you to fit three different models of asteroid phase functions to your observations.

Motivation

Phase curves of asteroids are very important for the scientific community as they can provide information needed for diameter and albedo estimates. Given the large amount of surveys currently being carried out and planned for the next few years, we believe it is necessary to have a tool capable of processing and providing useful information for such an amount of observational data.

Features

The input file must be a .csv file with three columns: id (mpc number), alpha (phase angle) and v (reduced magnitude in Johnson's V filter).

Pyedra currently has three functions, each of which adjusts a different phase function model. The modules are:

  • HG_fit: adjusts the H-G biparametric function to the data set.

  • Shev_fit: adjusts the Shevchenko triparametric function to the data set.

  • HG1G2_fit: adjusts the triparametric function H-G1-G2 to the data set.

In addition, the input data can be plotted with the chosen fit.


Requirements

You need Python 3.8 to run Pyedra.

Installation

Clone this repo and then inside the local directory execute

    $ pip install -e .

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

Pyedra-0.2.tar.gz (16.6 kB view hashes)

Uploaded Source

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