Skip to main content

Signal correction module for Ariel Data Challenge 2025.

Project description

Ariel Data Preprocessing

PyPI release Unittest

This module contains the FGS1 and AIRS-CH0 signal data preprocessing tools.

Submodules

  1. Signal correction (implemented)
  2. Signal extraction (partially implemented - AIRS-CH0 data only)

1. Signal correction

Implements the six signal correction steps outline in the Calibrating and Binning Ariel Data notebook shared by the contest organizers.

See the following notebooks for implementation details and plots:

  1. Signal correction
  2. Signal correction optimization

Example use:

from ariel-data-preprocessing.signal_correction import SignalCorrection

signal_correction = SignalCorrection(
    input_data_path='data/raw',
    output_data_path='data/corrected',
    n_planets=10
)

signal_correction.run()

The signal preprocessing pipeline will write the corrected frames as an HDF5 archive called train.h5 with the following structure:

├── planet_1
|   ├── AIRS-CH0_signal
│   └── FGS1_signal
│
├── planet_1
|   ├── AIRS-CH0_signal
│   └── FGS1_signal
│
.
.
.
└── planet_n
    ├── AIRS-CH0_signal
    └── FGS1_signal

2. Signal extraction

Takes signal corrected data HDF5 output from SignalCorrection().

Selects top n brightest rows of pixels from AIRS-CH0 spectrogram and sums them. Then applies moving average smoothing for each wavelength index across the frames.

See the following notebooks for implementation details and plots:

  1. Signal extraction
  2. Wavelength smoothing

Example usage:

from ariel-data-preprocessing.signal_correction import SignalExtraction

signal_extraction = SignalExtraction(
    input_data_path='data/corrected',
    output_data_path='data/extracted',
    inclusion_threshold=0.95
)

signal_extraction.run()

Output data will be written to train.h5 in the directory passed to output_data_path. The structure of the HDF5 archive matches the output from SignalCorrection().

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

ariel_data_preprocessing-1.2a1.tar.gz (12.3 MB view details)

Uploaded Source

Built Distribution

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

ariel_data_preprocessing-1.2a1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file ariel_data_preprocessing-1.2a1.tar.gz.

File metadata

  • Download URL: ariel_data_preprocessing-1.2a1.tar.gz
  • Upload date:
  • Size: 12.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ariel_data_preprocessing-1.2a1.tar.gz
Algorithm Hash digest
SHA256 987de87ce785ace5687f76948218ba2e68ff017af841c63f8cb66f2a117a7702
MD5 db2f0118e6e5ed1a224c5a3170e9132f
BLAKE2b-256 ff48a15901c51487a598881102210bafe60f8fcb0d479db9d14b548cb880ebd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ariel_data_preprocessing-1.2a1.tar.gz:

Publisher: pypi_release.yml on gperdrizet/ariel-data-challenge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ariel_data_preprocessing-1.2a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ariel_data_preprocessing-1.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa51589b529ee431b8976dfb8a6c7879aeaf74161bf1dd04be085bb6710ec72
MD5 a965d44adab4dc89ebca7664b3581c62
BLAKE2b-256 07756423e322f6cd86a6ae78e7f20ba999a11c5e1b93651808fd05fd915f06b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ariel_data_preprocessing-1.2a1-py3-none-any.whl:

Publisher: pypi_release.yml on gperdrizet/ariel-data-challenge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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