Micat is for Microscopy Calibration and Testing using USAF resolution targets.
Project description
micat
Micat is for Microscopy Calibration and Testing using USAF resolution targets.
micat - The third-person singular present active indicative of micō
micō - Twinkle (Latin)
Install
You can install micat using
pip install micat
Using micat
Micat will eventually port all the functionality from Richard's USAF analysis repository. So far we have completed:
usafcal - This takes an image of a USAF resolution target and calculates the effective size of one pixel in the image, and also the field of view. These are output in a PDF. Unless told otherwise, the script assumes that the smallest element it can find is group 7 element 6. You should check the pdf output to check if it has labelled the groups correctly. If not you can run the analysis again using the -g and -e flags to set the group correct smallest group. As standard, the PDF and associated YAML file will begin with the image name, and be in the same directory as the input image.
To use, run the following command from a terminal
micat usafcal filename.jpg
To specify that the smallest element analysed is element 2 in group 4:
micat usafcal filename.jpg -g 4 -e 2
To run on multiple files, input multiple file names:
micat usafcal filename1.jpg filename2.jpg
or if your terminal supports it, use wild cards:
micat usafcal */*.jpg
For more information on the progress while running, use the verbose flag -v:
micat usafcal filename.jpg -v
For a complete list of options you can run:
micat help usafcal
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file micat-0.1.0.tar.gz.
File metadata
- Download URL: micat-0.1.0.tar.gz
- Upload date:
- Size: 7.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4395454842b5dea76b393fa8b1f4f56454cbce4ad7d8f90cbb7ee97b7501250c
|
|
| MD5 |
8e56d200628300fc80d02bb696110099
|
|
| BLAKE2b-256 |
7571c0de382779f45421bb3f38dc5b8869e3eefb098d0d00d68458a0b60cc049
|
File details
Details for the file micat-0.1.0-py3-none-any.whl.
File metadata
- Download URL: micat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 263.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
715ec2086abbf526f4175f6e116ebd3d30e447a2fc94b02496a148daba25f3e5
|
|
| MD5 |
d87c0ec56f880012fc41b52ffeb7ba75
|
|
| BLAKE2b-256 |
993ce9d63161bcabcdc305e4dd92af9da07d23bf7a65ad6c753cd86f9c2230b4
|