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
Metadata
Release files for micat 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| micat-0.1.1.tar.gz | 8.3 MB | Without provenance | Details for micat-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| micat-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for micat-0.1.1-py3-none-any.whl |
Total release size: 8.5 MB
Release files / micat-0.1.1.tar.gz
| Download URL | micat-0.1.1.tar.gz |
|---|---|
| Size | 8.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e53d3deae5bbc23171fa50c516118bd2835fb2d36161af87431baa4887af5d34
|
|
BLAKE2b-256 checksum How to use checksums |
2b446de8bac51da76ea8bc27386fd6f017091ef1a9f3b46ba2c3713113fa607b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / micat-0.1.1-py3-none-any.whl
| Download URL | micat-0.1.1-py3-none-any.whl |
|---|---|
| Size | 263.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
137d442cef3314f9b8f35e6aa70a7971273657715e1206faf6b2a746853e53ec
|
|
BLAKE2b-256 checksum How to use checksums |
541caf6f6f74f74c238c3f84a7960023474d3877975b23a868467a1056bdad1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for micat 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.