An API for interfacing with the Sloan Digital Sky Survey
Project description
Astronomy Research Library
The Astronomy Research Library is a Python library designed to facilitate astronomical research, particularly focusing on the classification of stars, galaxies, and quasars (QSOs). It interfaces with Sloan Digital Sky Survey (SDSS) services to access spectral data and related information.
Modules Overview
Core Functionalities
This module provides tools to query the SDSS database and APIs using ADQL (Astronomical Data Query Language).
- Classes & Functions:
CoreFunctionalities
: Constructs ADQL query strings and Handles HTTP requests and responses to/from SDSS services.MetaDataExtractor
: Extracts metadata from queried objects- 'DataPreprocessor': Responsible for preparing raw spectral data for analysis, including normalization, outlier removal, and interpolation, and RedshiftCorrection
- 'Wavelength Aligner' - handles spectral alignment to a common wavelength range
get_ml_data
: Extracts wavelength and flux data from SDSS for use in later modules
Visualization
Offers visualization tools for spectral data using Matplotlib, with capabilities for overlaying inferred continua.
- Classes & Functions:
Vizualization
: Provides functionalities to plot and overlay spectral features.
Data Augmentation
Enhances the dataset by calculating derivatives and fractional derivatives of spectral data.
- Classes & Functions:
data_augmentation
: Computes and appends derivatives to each spectral data point.
Machine Learning
Implements a machine learning model for classifying astronomical objects.
- Classes & Functions:
knn_clasifier
: A model that distinguishes between stars, galaxies, and QSOs.
Cross Matching
Enables cross matching between SDSS and Gaia.
- Classes & Functions:
extract_gaia_cross_match
: Facilitates the selection and analysis of pure matches between SDSS and Gaia.
Spectral Feature Extraction
Extracts spectral features defining emission and absorption lines as those with flux levels exceeding 2 sigma from the continuum
Interactive Visualization
- Classes & Functions:
viz_tool_interactive
: interactive visualization tool
Workflow Status
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 cs107_team31_2023-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c524fabf6a19fa5e77217566c7c6b7e4907653ee924ea5bd9c92bcbab473cc9 |
|
MD5 | 7aa1627d60d3f3debf75b981f603ff69 |
|
BLAKE2b-256 | 239fd22175fecbfe9e48781105dea22457c6c67658368aee2a16b07180212e87 |