azcam-app Home

azcam-app - imaging system control

View project on GitHub

Home

azcamapp is an application used to control scientific imaging systems. It is based on the azcam image acquisition and analysis package.

Installation

azcam-app

pip install azcam-app

The latest version of the azcam-app package is located on GitHub at https://github.com/mplesser/azcam-app.git

AzCam

See the azcam documentation for all things azcam related.

Usage

A configuration file is required to configure azcamapp at start up. It is specified with a full pathname and does not need to be in an installed python package. Startup examples are:

azcamapp <full_path_to_config_file> -- <options>
or
python -m azcam_app <full_path_to_config_file> -- <options>

Example:

azcamapp /data/90prime/code/pf_config.py -- -normal

After initiialization azcamapp provides an embedded IPython shell which is used for all local operations. The tools object is exposed to provide access to all azcam tools.

Examples

instrument = tools["instrument"]
exposure = tools["exposure"]
instrument.set_wavelength(450)
wavelength = instrument.get_wavelength()
print(f"Current wavelength is {wavelength}")
exposure.expose(2., 'flat', "a 450 nm flat field image")

Help

Help is available by typing ?xxx, xxx?, xxx?? or help(xxx) where xxx is an class, command, or object instance.

Useful external links include: