Desktop App for Transient Absorption Spectroscopy Systems
Fork or clone the repository and enter the root directory
git clone https://github.com/<username>/pyta.git
cd pyta
Install the virtual environment and project
poetry install
Launch the application
poetry run pyta
Local changes are required to run the application, therefore updates should be obtained by stashing local changes
git stash
git pull
git stash pop
or working on a branch
git checkout -b "my-local-branch"
git merge main
Abstract base classes are provided for cameras and delay generators (mechanical or digital).
To connect existing hardware to the application, new classes should be created that inherit from these bases and implement all abstract methods as appropriate. An example is provided for Stresing s7030 cameras. Once the classes have been written, they can be used in the application by amending the relevant imports. For example, a custom delay stage could be imported as
from pyta.delay.my_custom_delay import MyCustomDelay as Delay