1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Flamingos 2 Probe Detector
This package contains a single script used to detect the position of the
Flamingos 2 Guide Probe with sub-pixel accuracy. For that, it uses several
morphological operations available inside the scipy.ndimage package.
The probe position, for now, is obtained using Center of Mass. That means that the whole probe image should be displayed. If the Probe Image touches the edge of the field of view, the results are unpredictable.
Requirements
Before you install this package, make sure your Python environment has all the required dependencies:
- Python 3
- astropy
- matplotlib
- numpy
- scipy
The best way of having all of them at once is installing Anaconda and AstroConda.
Install
Once you are inside a conda environment, you can install this package by
simply typing:
# Make sure you activate your virtual environment
$ source activate $MYENV
# Install using pip
$ pip install f2_probe_detector
It is highly recommended that you install this package inside a Anaconda virtual environment. If possible, install is inside your "astroconda" venv.
Running
To get information about how to run this script, you can type:
$ get_f2_probe_position --help
$ get_f2_probe_position file_1.fits file_2.fits ... file_n.fits
filename x y
--------------------------------------------------------------
...est_get_f2_probe_position/file_1.fits 1091.43815 583.93075
...est_get_f2_probe_position/file_2.fits 1091.43815 583.93075
...est_get_f2_probe_position/file_3.fits 1091.43815 583.93075
..._get_f2_probe_position/test_data.fits 1091.43815 583.93075
or
$ get_f2_probe_position file_*.fits
filename x y
--------------------------------------------------------------
...est_get_f2_probe_position/file_1.fits 1091.43815 583.93075
...est_get_f2_probe_position/file_2.fits 1091.43815 583.93075
...est_get_f2_probe_position/file_3.fits 1091.43815 583.93075
..._get_f2_probe_position/test_data.fits 1091.43815 583.93075
Known Issues
get_f2_probe_positionwill not fail if cannot find a probe. If you get a very weird value, check the image.get_f2_probe_positionwill not work if the probe shadow touches the edge.
Metadata
Release files for f2-probe-detector 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| f2_probe_detector-0.2.tar.gz | 7.5 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| f2_probe_detector-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
| f2_probe_detector-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.9 kB
Release files / f2_probe_detector-0.2.tar.gz
| Download URL | f2_probe_detector-0.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00c15b49504c09412a8485da7483e4da877acffc5671fcf0d3299e722ccc45b3
|
|
BLAKE2b-256 checksum How to use checksums |
548566183a7c76fb4272ac94a1c998b4ad411c09c73ea67ef54e6b2e429f8fde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Release files / f2_probe_detector-0.2.0-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | f2_probe_detector-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc1da87d84f68ef44916df9bc66eb34ffb33d75bc1c59bd014334eb3304f6f3e
|
|
BLAKE2b-256 checksum How to use checksums |
8e008f420fac2747723157e952d04ba2d8fcfa043132a7b7b302fb270a70fa2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / f2_probe_detector-0.2-py3-none-any.whl
| Download URL | f2_probe_detector-0.2-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ac3c90fe3723cfe8ce8ab46fcfd71b4480066884ce04c27ab8b3a306a67e2a0
|
|
BLAKE2b-256 checksum How to use checksums |
3d3cce037563f8df649997b39f9e547cf3d35120beb62c79c5edf7be01a3ec1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|