Skip to main content

Data post-processing for high-contrast imaging with the 4S Algorithm.

Project description

Use the 4S (Signal Safe Speckle Subtraction) for High-Contrast Imaging

Python 3.8 | 3.9 Documentation Status

This is the documentation of fours, a Python package for PSF subtraction with the 4S algorithm for exoplanet high contrast imaging (HCI). Using the 4S algorithm, we were able to recover the planet AF Lep b in archival data from 2011. This demonstrates the power of the 4S algorithm for data post-processing in HCI.

This repository contains the code needed to reproduce the results of our paper (paper in preparation).


Documentation

A full documentation of the package, including several examples and tutorials can be found on ReadTheDocs.

This short guide will walk you through the required steps to set up and install fours.

Installation

The code of fours is available on the PyPI repository as well as on GitHub. We strongly recommend you to use a virtual environment to install the package.

Installation from PyPI

Note: The package is currently in the process of being uploaded to PyPI.

Installation from GitHub

Start by cloning the repository and install fours as a Python package:

git clone git@github.com:markusbonse/fours.git ;
cd fours ;
pip install .

In case you intend to modify the package you can install the package in "edit mode" by using the -e flag:

pip install -e .

Additional Options

Depending on the use case fours can be installed with additional options. If you install fours from GitHub you can add them by:

pip install -e ".[option1,option2,...]"

The following options are available:

  1. dev: Adds all dependencies needed to build this documentation page with sphinx.
  2. plotting: Installs the libraries seaborn, matplotlib and bokeh which we use in our plots.

Demonstration dataset

If you want to reproduce our results or get some example data to play with you can download the data used in our paper. The data is publicly available at COMING SOON.

The repository contains three files:

  1. 30_data: These are the NACO L'-band datasets as hdf5 files. The data was pre-processed with PynPoint.
  2. 70_results: Contains the intermediate results of our paper. If you don't have access to a high-performance computing cluster you can use these files.

Reproduce our results

Check out the plot gallery in the fours documentation.

Authors and Citation

All code was written by Markus J. Bonse. Detailed information on the citation can be found here.

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

fours-0.0.3.tar.gz (21.5 MB view details)

Uploaded Source

Built Distribution

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

fours-0.0.3-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file fours-0.0.3.tar.gz.

File metadata

  • Download URL: fours-0.0.3.tar.gz
  • Upload date:
  • Size: 21.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for fours-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6694bf2c0245b3e9196826cd50797f9f767a07676c8cdd67ce7651f238ea3520
MD5 a718b2656d257d549e3a44fe89d2d0c4
BLAKE2b-256 f809f276ecb280052c670a48ff9c273f1cd77d01dfe80e6add945c90bab45c45

See more details on using hashes here.

File details

Details for the file fours-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: fours-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for fours-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a986c357b0f942ee243281897f5f814acf6d8f9f02d8f7ba5a5ec3b23b7f479
MD5 bde90b76e789ddccbda9f9a513787e89
BLAKE2b-256 b952b73dde9ad68073b4cadd24eb797652112a7cef0554c24221220e28b6c232

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