Alsvid's Python code is tested in Python 3.10.   

Some of the libraries used here may require a recent Python version or 
an updated Astropy package.

If not met by your operating system's Python 3 installation, you can meet
this requirement easily by installing Python from source, or by using 
a distribution such as Enthought Canopy or Anaconda Python. 

All of the shell scripts are intended to be run as executables on the command
line and they consisently have this first line:

#!/usr/local/bin/python3

followed by a brief commented description of the purpose of the code.  You may
need to edit this first line if your Python is in another location, or if you
run in another way.  

The Bash script change_python.sh will replace our first line with one of your
chosing. 



Alternatively, if you use system-wide python3 in /usr/bin, you could
add a softlink in local/bin this way:

ln -s /usr/bin/python3 /usr/local/bin/python3 

The included script change_python.py shows how to update this line in all the
source files at once.  Customize the script to your needs and run it before
installing the code.

You may also start each one by executing the preferred Python on the command
line

mypythonchoice program.py input data

in which case the the program's first #! line is ignored.








