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.

Files for Pyedra, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size Pyedra-0.3.1.tar.gz (4.9 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page