Skip to main content

Returns line profiles from input spectra by fitting the stellar continuum and performing LSD

Project description

A.C.I.D (Accurate Continuum fItting and Deconvolution)

Since the original ACID code was developed for Lucy Dolan's PhD in 2024, it has had devlopment continued by Benjamin Cadell from October 2025. The version was originally forked from the original code and renamed (ACID_v2). The code has now been merged to the original and development will continue here. The ACID_v2 repository will continue to exist on GitHub and will be kept up for reference, but all new development will be on the merged codebase here.

Since 2024, the most signficant changes to ACID have been: - Updating packages and code to work with newer and stable versions of python. - Improving memory management so that ACID can be run on MacOS without crashes (ie extending compatibility to all POSIX systems) - Adding additional kwargs to ACID to tailor output, including verbosity settings, MCMC number of steps, multiprocessing switch, and more. - Utilising classes for both ACID and the result of ACID, allowing for analysis methods that can be found in the documentation. - Methods to extract fits formats for common instruments (e.g. ESPRESSO, HARPS, UVES) and to load them directly into ACID. - Updated documentation and examples

An more complete list of changes can be found in the CHANGELOG.md file in the repository.

The documentation will be kept up to date until at least 2029.

ACID is a technique that builds on traditional Least-Squares Deconvolution (LSD) by simultaneously fitting the stellar continuum and stellar line profile and performing LSD in effective optical depth.

In a basic sense, ACID simulatenously fits the stellar continuum and profile using a combination of LSD and MCMC techniques. The spectra are then continuum corrected using this continuum fit. LSD is then run on the continuum corrected spectra to return high-resolution line profiles for each spectrum.

Installation

See the ReadTheDocs for the instructions on installation.

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

acid_code-2.0.0a3.tar.gz (79.8 MB view details)

Uploaded Source

Built Distribution

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

acid_code-2.0.0a3-py3-none-any.whl (85.1 kB view details)

Uploaded Python 3

File details

Details for the file acid_code-2.0.0a3.tar.gz.

File metadata

  • Download URL: acid_code-2.0.0a3.tar.gz
  • Upload date:
  • Size: 79.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for acid_code-2.0.0a3.tar.gz
Algorithm Hash digest
SHA256 41a3ada8b00e49ebc46b472d0815067c2daa05ca0170a83149f49f6125b96460
MD5 970a5d52ba90360a4916536d6eeb3433
BLAKE2b-256 b5a48dcecc64157b3fbfda1a2e3bb35c1ff47235d478a4a3ae15a425e6409e83

See more details on using hashes here.

File details

Details for the file acid_code-2.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: acid_code-2.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 85.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for acid_code-2.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 964ab3e4015cde01cd371d15ff04c1b5ade47f7c7f3e1a7c5f6b20e7726e1fde
MD5 74a9a456d7cfe20d3d9671058c714168
BLAKE2b-256 74cefbf5c5701f0d36657e06a0f01f2133174d732337640c47d404624a7116d8

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