-
Notifications
You must be signed in to change notification settings - Fork 15
Common Project Development Procedures
Matt Ketkaroonkul edited this page May 6, 2023
·
20 revisions
Disclaimer: The following has only been tested on Linux systems.
-
Install Anaconda on your system by following this link.
-
Upon first use, you might see that your shell may already be in the
(base)environment for conda. You can exit the env by issuingconda deactivate -
Create a Conda environment and enter it:
$ conda create --name uwmro_instruments python=3.10.0
$ conda activate uwmro_instruments
- The
pythonafter inputting the name of the environment is to ensure no other packages other than the default are installed. - As of 01/22/2022, the version of python should be
Python 3.10.0.
- Install these packages via Conda (with
uwmro_instrumentsactivated):
(uwmro_instruments) $ conda install -c conda-forge libstdcxx-ng pybind11 numpy pytest astropy pillow
(uwmro_instruments) $ pip install flask asyncio
- For copyright reasons, the SDK for the Andor Camera is not publicly available. However, if you were to have the software, to install the software dependencies on your system, open the folder for the software and run
$ sudo ./install_andor
- Every time you would like to test changes made to
andor_wrapper.cpp, or you are building for the first time since cloning the repo, issue the following shell commands:
$ cd Instruments/evora/andor/
$ make clean
$ make andor_wrapper