Skip to main content

PyDIET

Documentation Tests codecov

PyDIET is CFHT's new Direct Imaging Exposure Time calculator.

Screenshot

Important

PyDIET is still in testing phase. The authors reserve the right to modify, update, or discontinue any aspect of the package at any time without notice. This includes, but is not limited to, changes in instrument models, calibration data, algorithms, or implementation details, which may result in differences in the outputs produced by PyDIET over time.

The authors shall not be liable for any direct, indirect, incidental, consequential, or special damages arising out of or in connection with the use of, or inability to use PyDIET including but not limited to errors in calculations, scientific results, or observational planning.

Installing

pip/pipx

git clone https://github.com/astromatic/pydiet
cd pydiet
pip install .

Docker

To build a Dockerfile for installing pyDiet:

docker build -t pydiet:latest -f docker/Dockerfile .

Run, get a shell, and python venv

docker run -tid --name pydiet pydiet
docker exec -ti pydiet "/bin/bash"
source venv_pydiet/bin/activate

Executing (locally)

pydiet -b

Customizing

PyDIET can easily be adapted to other astronomical imagers by simply editing the data/data_config.toml file in TOML format, and supplying pysynphot-compliant transmission/emission FITS files for the various parts of the instrument chain. Use the provided utils/extract_filter.py script to convert ASCII tables to pysynphot-compliant FITS format.

The web interface can easily be customized to accomodate one or several instruments through query form and result display templates.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydiet-0.9.9.tar.gz (85.1 MB view details)

Uploaded Source

Built Distribution

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

pydiet-0.9.9-py3-none-any.whl (85.2 MB view details)

Uploaded Python 3

File details

Details for the file pydiet-0.9.9.tar.gz.

File metadata

  • Download URL: pydiet-0.9.9.tar.gz
  • Upload date:
  • Size: 85.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pydiet-0.9.9.tar.gz
Algorithm Hash digest
SHA256 8905d3cc758d28e5f853bacafba31b1dc11475911b6e7348f4112be17e13fbc8
MD5 434618179f05cd3baef168cd3c4e62c7
BLAKE2b-256 9bfb0d674e886c4963260146d03af78250e40238fb456c27081154c8d0cd6221

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydiet-0.9.9.tar.gz:

Publisher: release.yml on astromatic/pydiet

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

File details

Details for the file pydiet-0.9.9-py3-none-any.whl.

File metadata

  • Download URL: pydiet-0.9.9-py3-none-any.whl
  • Upload date:
  • Size: 85.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pydiet-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 191d6de3f7f261356fc52f3c55574cf8026709da36fe28dbda0edf97e72a644b
MD5 7155de812f35e94f7c56d9be8c9666a3
BLAKE2b-256 3167136a6ec5152c0ac5869293653f24b7eda23c3b95c629d4cf1cf8b5343738

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydiet-0.9.9-py3-none-any.whl:

Publisher: release.yml on astromatic/pydiet

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

Release history Release notifications | RSS feed

This release

0.9.9 This release

2 files

0.9.8

2 files

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page