Skip to main content

No project description provided

Project description

lco_etc

Template PyPI GitHub Workflow Status Codecov Read The Docs Benchmarks

This project was automatically generated using the LINCC-Frameworks python-project-template.

For more information about the project template see the documentation.

Overview

lco_etc is a Python package designed to calculate exposure times for the Las Cumbres Observatory Telescopes. The original exposure time calculator was implemented as a webpage at LCO Exposure Time Calculator and adapted to Python by rewriting the embedded JavaScript code. This Python adaptation provides a programmatic interface for calculating exposure times, making it accessible for automation and integration into other Python-based workflows.

Installation

Using pip

You can install the latest release of lco_etc from PyPI:

pip install lco_etc

Usage

To use the lco_etc package, you can import it into your Python scripts and call the provided functions. Below is a quick example:

from lco_etc.etc import exposure_time_calc

result = exposure_time_calc(10.0, 20, None, "sinistro", "V", "new", 1.2)
print(result)

Output

{'snr': 10.2, 'magnitude': 20.0, 'exposure_time': 29.0, 'saturated': False, 'mag_system': 'Vega'}

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

lco_etc-0.0.1.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

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

lco_etc-0.0.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file lco_etc-0.0.1.tar.gz.

File metadata

  • Download URL: lco_etc-0.0.1.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for lco_etc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7f6218c562ba7a848f907fe5896156064a10630c16b5a6c95ca67c8b192e8b4c
MD5 449a568aff484854264de0b2bee7f04f
BLAKE2b-256 ec43e3177d3bd996b03440acb96b7816c71ec96fa4c5f83dce614e632239df4f

See more details on using hashes here.

File details

Details for the file lco_etc-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: lco_etc-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for lco_etc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebb435604b9d19966291f08c0f0ce70af968270d2f1d7406081dbba53297ad5d
MD5 54d41a9225381e736b855494f695fbcb
BLAKE2b-256 62813982e5c94042a81ce850a5c8a0154978d3c0ae2cf9993e31faee7a8c2b2f

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