Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
SHESHA is the python part of the COMPASS platform designed to meet the need of high-performance for the simulation of AO systems
COMPASS binaries, which contain the optimized GPU code, can be installed via Anaconda. Then, you have to install Anaconda 3 or Miniconda 3 (python 3 is required).
We recommend Miniconda instead of Anaconda as it is much lighter, but it's up to you.
export CONDA_ROOT=$HOME/miniconda3
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p $CONDA_ROOT
Don't forget to add your Miniconda or Anaconda directory to your PATH:
export PATH=$CONDA_ROOT/bin:$PATH
Once Miniconda is installed, installing the COMPASS binaries is easy :
conda install -c compass compass -y
Note: conda main channel is compiled with CUDA 12. For previous version please have a look to the other channel and post an issue and we will try to provide it.
This command line will also install dependencies in your conda environment.
First, you will need to set some environment variables:
export SHESHA_ROOT=$HOME/shesha
export PYTHONPATH=$SHESHA_ROOT:$PYTHONPATH
export PYTHONDONTWRITEBYTECODE=1
Finally, you can get the Shesha package of COMPASS. This python package is the user level of COMPASS. It also contains all the initialization functions.
git clone https://github.com/ANR-COMPASS/shesha.git $SHESHA_ROOT
Once the installation is complete, verify that everything is working fine :
cd $SHESHA_ROOT/tests
./checkCompass.sh
This test will basically launch fast simulation test cases and it will print if those cases have been correctly initialised.
You are ready ! You can try it with one of our paramaters file:
cd $SHESHA_ROOT
ipython -i shesha/scripts/closed_loop.py data/par/par4bench/scao_sh_16x16_8pix.py
And if you want to launch the GUI:
cd $SHESHA_ROOT
ipython -i shesha/widgets/widget_ao.py
Project GitHub pages with a detailed user manual : https://anr-compass.github.io/compass/
doc auto-generated from code: http://shesha.readthedocs.io
wiki page of the COMPASS project: https://projets-lesia.obspm.fr/projects/compass/wiki/Wiki
Please feel free to create an issue on Github for any questions and inquiries.
FAQs
SHESHA is the python part of the COMPASS platform designed to meet the need of high-performance for the simulation of AO systems
We found that shesha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.