Skip to main content

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

Python application test with coverage Run Tests

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

cs107_team31_2023-0.0.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cs107_team31_2023-0.0.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file cs107_team31_2023-0.0.1.tar.gz.

File metadata

  • Download URL: cs107_team31_2023-0.0.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for cs107_team31_2023-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c1d40865bced411f21d312c7520816b19e54fef0a365ae789930280adc48d9e6
MD5 b4d1d760aafa3c7cfa62f27c4581c773
BLAKE2b-256 c94dc87087aed9cb074d721b013c3daa73bd08838d3a2727f81f7d090dd5e1bf

See more details on using hashes here.

File details

Details for the file cs107_team31_2023-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cs107_team31_2023-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c524fabf6a19fa5e77217566c7c6b7e4907653ee924ea5bd9c92bcbab473cc9
MD5 7aa1627d60d3f3debf75b981f603ff69
BLAKE2b-256 239fd22175fecbfe9e48781105dea22457c6c67658368aee2a16b07180212e87

See more details on using hashes here.

Supported by

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