Skip to main content

A repo to hold the canonical dLux Toliman models.

Project description

dLuxToliman

PyPI version License

Banner Image

Description

This repository/package contains pre-built ∂Lux models of the Toliman optical system, and pre-built parametrised ∂Lux source objects for Alpha Centauri.

∂Lux is an open-source differentiable optical modelling framework harnessing the structural isomorphism between optical systems and neural networks, giving forwards models of optical system as a parametric neural network. ∂Lux is built in Zodiax which is an open-source object-oriented Jax framework built as an extension of Equinox for scientific programming.

The primary goal of the Toliman mission is to discover Earth-sized exoplanets orbiting in Alpha Centauri, the closest star system to our own. To achieve this, the mission will employ a novel telescope design that will be able to detect subtle changes in the positions of the Alpha Centauri binary pair. These changes are caused by the gravitational reflex motion induced by an Earth-sized companion, and this cutting-edge technology will enable scientists to identify exoplanets too small to be detected by conventional telescopes. Toliman utilises a binary phase diffraction pupil to grasp the expected microarcsecond-scale astrometric signal.

Installation

dLuxToliman is pip-installable. To install the latest release, simply run:

pip install dLuxToliman

Usage

A very basic example of how to use this package is as follows:

# imports
import dLuxToliman as dlT
from matplotlib import pyplot as plt
from matplotlib.colors import PowerNorm

optics = dlT.TolimanOpticalSystem(psf_npixels=128)  # creating Toliman optical system
source = dlT.AlphaCen(
    n_wavels=3, separation=8, position_angle=30,
)  # creating Alpha Centauri source
model = dlT.Toliman(source=source, optics=optics)  # creating Toliman telescope

psf = model.model()  # running optical simulation

# plotting
plt.imshow(psf, cmap="inferno", norm=PowerNorm(0.5), origin="lower")
plt.title(r"Toliman PSF")
plt.colorbar()
plt.show()

Example Image

Contributors

Max Charles, Louis Desdoigts, Benjamin Pope, and Peter Tuthill.

License

This package is released under the BSD 3-Clause License. See the LICENSE file for more information.

Support

If you encounter any problems or have any questions related to Toliman models, please raise an issue or contact me at max.charles@sydney.edu.au.

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

dluxtoliman-0.4.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

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

dluxtoliman-0.4.0-py3-none-any.whl (108.5 kB view details)

Uploaded Python 3

File details

Details for the file dluxtoliman-0.4.0.tar.gz.

File metadata

  • Download URL: dluxtoliman-0.4.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dluxtoliman-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d973fd3a43cbd39c06c305e7c1b66bab305601b855d26484324bd57cb4ee22b9
MD5 efcc15a75955e3f8cb410a4c4a5e7dd0
BLAKE2b-256 cd56243a3f32e82df987044ff5eee9fd94a97a6e8b941118e50bb71771bafcf2

See more details on using hashes here.

File details

Details for the file dluxtoliman-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: dluxtoliman-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 108.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dluxtoliman-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ba19ad5529fd293a375434f0f6f1ceacc3e0cddbf860fde09dca198efa16c6
MD5 01774addad1dcb424a2186b72ed9339b
BLAKE2b-256 493ba3a1d902174144331ac8803d48ee01486b28f90b536bd64fad476f17b28a

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