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 Python 3.8+ License arXiv ASCL.net

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.3.5.tar.gz (4.9 MB view details)

Uploaded Source

File details

Details for the file pyedra-0.3.5.tar.gz.

File metadata

  • Download URL: pyedra-0.3.5.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for pyedra-0.3.5.tar.gz
Algorithm Hash digest
SHA256 7d445ad711b13a9e25b6bdd06b5d6868d655a974ad9241bbdba2ccab77bc6fea
MD5 f97ff3e3ea54b4cac83e25e038d8640f
BLAKE2b-256 38e8f099dbc780261c23becbdf63b3ad6482f427d9be4aa35973806b8c98de5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page