My far-too-large module of various astronomical/statistical/miscellaneous convenience functions.
- Download the zip archive containing ChrisFuncs from the GitHub repository, and extract it to a temporary location of your choice.
- Open a terminal and navigate to extracted directory that contains setup.py
- Install using the command
pip install -e . --user
(Whilst you can try installing using the more commonpython setup.py install
route, this sometimes hits compatibility issues, whereas the pip local installer seems more robust.)
ChrisFuncs is imported as:
import ChrisFuncs
Functions and sub-modules can be found therein. For example, the SigmaClip
function is called via ChrisFuncs.SigmaClip(*args)
. Whilst the Photom
sub-module is imported via import ChrisFuncs.Photom
.
Enjoy!