azcam-23.0
توضیحات
Acquisition and analysis package for scientific imaging
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | azcam-23.0 |
| نام | azcam |
| نسخه کتابخانه | 23.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michael Lesser |
| ایمیل نویسنده | mlesser@arizona.edu |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/azcam/ |
| مجوز | - |
# AzCam
AzCam is a software framework for the acquisition and analysis of image data from scientific imaging systems as well as the control of instrumentation. It is intended to be customized for specific hardware, observational, and data reduction requirements.
AzCam is based on the concept of *tools* which are the interfaces to both hardware and software code. Examples of tools are *instrument* which controls instrument hardware, *telescope* which interfaces to a telescope, *linearity* which acquires and analyzes images to determine sensor linearity, and *exposure* which controls a scientific observation by interfacing with a variety of other tools. As an example, the *exposure* tool may move a telescope and multiple filter wheels, control a camera shutter, operate the camera by taking an exposure, display the resultant image, and begin data reduction of that image.
AzCam is not appropriate for consumer-level cameras and is not intended to have a common API across all systems. It's primary design principle is to allow interfacing to a wide variety of custom instrumentation which is required to acquire and analyze scientific image data.
The *azcam* package currently supports Astronomical Research Cameras, Inc. Gen3, Gen2, and Gen1 CCD controllers, Magellan Guider controllers, STA Archon controllers, and CMOS cameras using ASCOM. It also supports some temperature contorollers, telecopes, and image displays.
See *azcam-tool* for a common extension package which implements a GUI used by many observers.
## Documentation
See https://mplesser.github.io/azcam/
See https://github.com/mplesser/azcam-tool.git for the standard GUI used by most telescope observers.
## Installation
`pip install azcam`
Or download the latest version from from github: https://github.com/mplesser/azcam.git.
You may need to install `python3-tk` on Linux systems [`sudo apt-get install python3-tk`].
## Configuration and startup
An *azcamserver* process is really only useful with a customized configuration script and environment which defines the hardware to be controlled. Configuration scripts from existing environments may be used as examples. They would be imported into a python or IPython session or uses a startup script such to create a new server or console application.
An example code snippet to start an *azcamserver* process is:
```python
# server-side (azcamserver)
import azcam
import azcam_itl.server
instrument = azcam.db.tools["instrument"]
exposure = azcam.db.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")
```
نیازمندی
| مقدار | نام |
|---|---|
| - | loguru |
| - | numpy |
| - | matplotlib |
| - | astropy |
| - | scipy |
| ys_platfor | pywin32; |
| - | fastapi |
| - | uvicorn |
| - | jinja2 |
| - | requests |
| - | pdfkit |
| - | markdown |
| - | pypdf2 |
نحوه نصب
نصب پکیج whl azcam-23.0:
pip install azcam-23.0.whl
نصب پکیج tar.gz azcam-23.0:
pip install azcam-23.0.tar.gz