Dependencies
============

python >3.9 tested 
numpy
scipy
cython
astropy
scikit-image
pyastronomy 
julia >= 1.5 tested


Linux and Mac OS X
==================

To install the Alsvid Python code for all users

As root user run the install_*.sh scripts from this directory, or 


cd src_*
cp * /usr/local/bin

or to a binary directory of your choice.  The code will reach out to Python in
/usr/local/bin/  To install into your own directory simply copy the files into a directory in
your execuation path, and make them executable.


Each file has a line 

#!/usr/bin/python3

as the first line.  If Python 3 is installed on a Linux system, this suffices
to make the code executable on the command line.  For example,

fits_mean.py 

will run the code.

If your python executable is not python3 in /usr/local/bin, either edit the first 
lines or make a link in /usr/local/bin to your python.  See PYTHON for more
information.

The included scripts "install_*.sh" will do the installation for you if run from
its directory as sudo or root, copying the files into /usr/local/bin/.  Modify
them  for other locations.


Windows
=======

If you have not already done so, install Python and the other packages 
since it will not be there with the default Windows operating system. One way to
do this easily is to install the popular free Anaconda distribution that is 
recommended by Astropy

https://www.anaconda.com/distribution/


Once you have python and the dependencies installed, create a folder for these
programs and copy all of them into it. For more information on running Python
under Windows see

http://docs.python.org/3/faq/windows



Julia
=====

The programs provided here that require Julia are provisional.  They have
been created and tested in julia 1.5.  Install it from

https://julialang.org/downloads/

and have fun with something new. 

