SIMCA is a Python/Qt application designed to perform optical simulations for Coded Aperture Snapshot Spectral Imaging (CASSI).
Go check the documentation page here
To install SIMCA, follow the steps below:
- Clone the repository from Github:
git clone https://github.com/a-rouxel/simca.git
cd simca
- Create a dedicated Python environment using Miniconda. If you don't have Miniconda installed, you can find the instructions here.
# Create a new Python environment
conda create -n simca-env python=3.9
# Activate the environment
conda activate simca-env
- Install the necessary Python packages that SIMCA relies on. These are listed in the
requirements.txt
file in the repository.
# Install necessary Python packages with pip
pip install -r requirements.txt
- Download the standard datasets from this link, then unzip and paste the
datasets
folder in the root directory of SIMCA.
- Start the application:
# run the app
python main.py
- Run the example script :
# run the script
python simple_script.py
SIMCA includes four main features:
-
Scene Analysis: This module is used to analyze input multi- or hyper-spectral input scenes. It includes data slices, spectrum analysis, and ground truth labeling.
-
Optical Design: This module is used to compare the performances of various optical systems.
-
Coded Aperture Patterns Generation: This module is used to generate spectral and/or spatial filtering, based on the optical design.
-
Acquisition Coded Images: This module is used to encode and acquire images.
For more detailed information about each feature and further instructions, please visit our documentation website.
If you wish to run tests on the simca package functionnalities:
- Run the tests.py script:
python tests.py
If you wish to build the Sphinx documentation locally:
- Navigate to the documentation source directory (e.g.,
doc/
):
cd doc
- Ensure you have Sphinx and other necessary tools installed:
pip install sphinx sphinx_rtd_theme
- Build the documentation:
make html
- Once built, you can view the documentation by opening the generated HTML files. For example:
xdg-open _build/html/index.html
SIMCA is licensed under the GNU General Public License.
For any questions or feedback, please contact us at arouxel@laas.fr