castor_etc

A modular, user-friendly Python package for easy estimation and analysis of CASTOR imaging performance. See the ETC_frontend GitHub repository for a graphical user interface to complement this package.

Includes:

  1. Astronomical source generation and background noise estimation

  2. Telescope imaging chain simulation, featuring a pixel-based photometry approach

  3. Convenience functions for converting between useful quantities (e.g., flux to electron/s to AB magnitude)

Author: Isaac Cheng Contact: isaac.cheng.ca@gmail.com

Subpackages

Submodules

Package Contents

Functions

verify_data_installation

Scans the DATAPATH and checks if subdirectories contain any files.

Data

__BASEPATH

DATAPATH

__all__

API

castor_etc.__BASEPATH = None
castor_etc.DATAPATH = None
castor_etc.verify_data_installation()

Scans the DATAPATH and checks if subdirectories contain any files.

Returns a dictionary of {folder_name: not_empty_bool}.

castor_etc.__all__ = ['data', 'deprecated', 'spectra', 'utils', 'background', 'detector', 'grism', 'photometry', 'sources...