Skip to content

Latest commit

 

History

History
104 lines (59 loc) · 1.72 KB

readme.md

File metadata and controls

104 lines (59 loc) · 1.72 KB

Astrotools

A collection of python tools for astronomy.

Description

This package collects general purpose functions that are used in several projects of mine (e.g. Planetary Nebula Luminosity Function or Stellar associations powering HII regions). Most of them are build on existing astropy or scipy functions and add certain functionality / shortcuts to make my work easier.

  • regions: handle regions in images (either masks or outlines) and re-project them to other images.

  • plot: help function to create corner plots ...

Installation

to install this package

python setup.py develop

Required packages:

NumPy

conda install numpy

matplotlib

conda install matplotlib

astropy

conda install astropy

scipy

 conda install scipy 

Astropy Regions

conda install -c conda-forge regions

scikit-image

conda install scikit-image

reproject

conda install -c astropy reproject

used in other projects

pyneb

pip install pyneb

photutils

conda install photutils -c astropy

Also useful

conda install -c conda-forge jupyter_contrib_nbextensions
conda install -c conda-forge jupyter_nbextensions_configurator

Usage

import astrotools as tools

...