flicamera
A library to control Finger Lakes Instrumentation cameras. It provides the SDSS gfaCamera
and fvcCamera
actors to control the Guide, Focus and Acquisition cameras and Field View Camera, respectively.
Installation
In general you should be able to install flicamera
by doing
pip install sdss-flicamera
Although flicamera
should handle all the compilation of the FLI libraries, you may still need to modify your system to give your user access to the FLI USB devices. See here for more details.
To build from source, use
git clone git@github.com:sdss/flicamera
cd flicamera
pip install .[docs]
Development
flicamera
uses poetry for dependency management and packaging. To work with an editable install it's recommended that you setup poetry
and install flicamera
in a virtual environment by doing
poetry install
Pip does not support editable installs with PEP-517 yet. That means that running pip install -e .
will fail because poetry
doesn't use a setup.py
file. As a workaround, you can use the create_setup.py
file to generate a temporary setup.py
file. To install flicamera
in editable mode without poetry
, do
pip install --pre poetry
python create_setup.py
pip install -e .