Skip to main content

Helper script for getting the brightest star in a Hawk-I (or other)

Project description

Python package

flows-tools

Observer tools for the FLOWS pipeline. Contains python packages, scripts, and notebooks for the following tasks:

  • Pointing, OB generation helper with VLT HAWK-I, finder chart maker.
  • Image cutouts
  • Template subtraction
  • Fixing fits image headers of multi-extension fits files
  • Hubble Diagrams
  • Lightcurve fitting of Type Ia SN lightcurves

Available Packages:

  • flows_get_brightest: The VLT HAWK-I pointing script that will create a finding chart for HAWK-I H-band images given a flows target, and optional rotation (position angle) and telescope offsets. Uses tendrils to query objects. Optionally plots a finding chart. Easily extensible to use with other instruments.

install with:

pip install flows_get_brightest
NOTE: Installation requires python >= 3.10 due to tendrils dependency.

Usage:

Installs a user script get_brightest that can be run from the command line. get_brightest --help.

test with:

pip install flows_get_brightest[test]
pytest

Note: user script only tested to work on Linux and Mac OS.


Available scripts:

  • fixlcogt.py A script for fixing LCOGT headers not preserved by other scripts such as imagematch.
  • cutouts.py A flexible script for making image cutouts while preserving original headers and extension and applying the same cutout to all image extensions present in the fits file.

Available notebooks:

  • Subtraction.ipynb Example notebook for doing manual subtractions following @sholmbo's method.
  • image_cutout.ipynb Example notebook that was the inspiration for cutouts.py.
  • hubble diagram notebook.
  • lightcurve fitting notebook.

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

flows_get_brightest-2.1.1.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

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

flows_get_brightest-2.1.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file flows_get_brightest-2.1.1.tar.gz.

File metadata

  • Download URL: flows_get_brightest-2.1.1.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for flows_get_brightest-2.1.1.tar.gz
Algorithm Hash digest
SHA256 da5b40cf2d3dee48823e64bd20acc4d38a1fcd7dec4969c2361c3aa3faa1a9a2
MD5 6c96bc0d27e45468faf4b03b0aa6f1c5
BLAKE2b-256 639d451d77272afbdd76a0334ac47faf603b8804f8168d568faaff64f11cd408

See more details on using hashes here.

File details

Details for the file flows_get_brightest-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flows_get_brightest-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a02cdaa7ca11822e81b372c9cd59f044feceaa298b1c49c84c499dbf9c3aadda
MD5 4373e2a8f6adeb65ebaf0d6a1df40fc8
BLAKE2b-256 c05f758f18d177091ffb3c288324a830451a7fe84cf889739581fb77ba8cad16

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