classification tool for minor bodies using reflectance spectra and visual albedos
Project description
Features - Install - Documentation
Features
-
Classify asteroid reflectance spectra in the taxonomic scheme by Mahlke, Carry, and Mattei 2022.
-
Add spectra from public repositories for comparison
-
Explore data via the command line, build an analysis with the
python
interface -
Simple syntax: specify the asteroid to analyse,
classy
takes care of the rest
$ classy spectra juno --classify
or
>>> import classy
>>> spectra = classy.Spectra(3)
... [classy] Found 1 spectrum in Gaia
... [classy] Found 5 spectra in SMASS
>>> spectra.classify()
... [classy] [(3) Juno] - [Gaia]: S
... [classy] [(3) Juno] - [spex/sp96]: S
... [classy] [(3) Juno] - [smass/smassir]: S
... [classy] [(3) Juno] - [smass/smass1]: S
... [classy] [(3) Juno] - [smass/smass2]: S
... [classy] [(3) Juno] - [smass/smass2]: S
>>> spectra.to_csv('class_juno.csv')
Install
classy
is available on the python package index as space-classy:
$ pip install space-classy
Documentation
Check out the documentation at classy.readthedocs.io. or run
$ classy docs
Data
The following data files are provided in this repository (format csv
and txt
) and at the CDS (format txt
):
File csv |
File txt |
Content | Description |
---|---|---|---|
class_templates.csv |
template.txt |
Class templates | Mean and standard deviation of the VisNIR spectra and visual albedos for each class. |
class_visnir.csv |
classvni.txt |
Classifications of the VisNIR sample. | Classes derived for the 2983 input observations used to derive the taxonomy. |
class_vis.csv |
classvis.txt |
Classifications of the vis-only sample. | Classes derived for the 2923 input observations containing only visible spectra and albedos. |
class_asteroid.csv |
asteroid.txt |
Class per asteroid | Aggregated classifications in VisNIR and vis-only samples with one class per asteroid. |
ref_spectra.csv |
refspect.txt |
References of spectra | The key to the spectra references used in the classification tables. |
ref_albedo.csv |
refalbed.txt |
References of albedos | The key to the albedo references used in the classification tables. |
More information on each file can be found in the data/mahlke2022/ReadMe.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for space_classy-0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51f7d4187cad0870d6c2f4e03d3b70bcefc31c070ff73a53eefbcc79963214b7 |
|
MD5 | d96170566bbc98aeddc446374e1f15d1 |
|
BLAKE2b-256 | d9fbce9190da3121fc1e1e844446c8a1f2e14d0f993f4aabec713264d9402a4a |