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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page