StackImages is a Python script and graphical interface for astrophotography image integration.
curl -L https://vanderbei.princeton.edu/tmp/PyWin.tar -o $HOME/Downloads/StackImages.tar && tar -xvkf $HOME/Downloads/StackImages.tar --unlink -C $HOME/Downloads/StackImages --strip-components=1 --exclude='._*'
Paste each of the following commands into the Terminal app1 to download StackImages and prepare your device to run it.
curl -L https://vanderbei.princeton.edu/tmp/PyWin.tar -o $HOME/Downloads/StackImages.tar && if [[ ! -d $HOME/Downloads/StackImages ]]; then mkdir -p //$HOME/Downloads/StackImages ; fi && tar -xvf $HOME/Downloads/StackImages.tar --directory=$HOME/Downloads/StackImages --strip-components=1
//PyWincurl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-`arch`.sh -o ~/Downloads/miniconda.shchmod +x ~/Downloads/miniconda.sh ; ~/Downloads/miniconda.sh -bu~/miniconda3/bin/conda init bash ; ~/miniconda3/bin/conda init zshconda toss acceptconda config --add channels conda-forge --add channels apple --add channels astropyconda create -n BobsAstro astropy astroquery scipy==1.1.2 matplotlib wxpython opencv pyqt qt=5 imageio -yIn order to use StackImages with astro images, use the included GetFit python program to download them.
Activate the "BobsAstro" environment.
  conda activate BobsAstroRun the GetFit program and utilize it as instructed.
  pythonw $HOME/Downloads/StackImages/GetFit.pyEach time you wish to work with and run StackImages, open the Terminal and then run the following commands.
conda activate BobsAstropythonw $HOME/Downloads/StackImages/StackImages.pycurl -L https://vanderbei.princeton.edu/tmp/PyWin.tar -o %USERPROFILE%/Downloads/StackImages.tar && tar -xvkf %USERPROFILE%/Downloads/StackImages.tar --unlink -C %USERPROFILE%/Downloads/StackImages --strip-components=1 --exclude='._*'
Open the Anaconda Prompt (Miniconda3) by finding it within the Windows (logo) Menu or by searching for it by name.
Download and extract StackImages.
curl --noproxy "*" https://vanderbei.princeton.edu/tmp/PyWin.tar -o %USERPROFILE%\Downloads\StackImages.tar && IF NOT EXIST %USERPROFILE%\Downloads\StackImages mkdir %USERPROFILE%\Downloads\StackImages && tar -xvf %USERPROFILE%\Downloads\StackImages.tar --directory=%USERPROFILE%\Downloads\StackImages --strip-components=1 PyWinConfigure the conda command to prioritize the Astropy channel
first, then the Conda Forge channel.
conda config --add channels conda-forge --add channels astropyCreate a conda environment named "BobsAstro".
conda create -n BobsAstro astropy astroquery scipy==1.11.2 matplotlib wxpython pyqt qt=5 imageio -yActivate the "BobsAstro" conda environment.
conda activate BobsAstroInstall the "opencv" module via the "pip" command.2
pip install opencv-contrib-pythonClose the Anaconda Prompt.
In order to use StackImages with astro images, use the included GetFit python program to download them.
Activate the "BobsAstro" environment.
conda activate BobsAstroRun the GetFit program and utilize it as instructed.
pythonw %USERPROFILE%\Downloads\StackImages\GetFit.pyEach time you wish to work with and run StackImages, open the Anaconda Prompt (Miniconda3) app and then run the following commands.
conda activate BobsAstropythonw %USERPROFILE%\Downloads\StackImages\StackImages.py