Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

micat-0.1.1.tar.gz (8.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

micat-0.1.1-py3-none-any.whl (263.9 kB view details)

Uploaded Python 3

File details

Details for the file micat-0.1.1.tar.gz.

File metadata

  • Download URL: micat-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for micat-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e53d3deae5bbc23171fa50c516118bd2835fb2d36161af87431baa4887af5d34
MD5 b30b4e46fcec97c4464da628e27607a6
BLAKE2b-256 2b446de8bac51da76ea8bc27386fd6f017091ef1a9f3b46ba2c3713113fa607b

See more details on using hashes here.

File details

Details for the file micat-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: micat-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 263.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for micat-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 137d442cef3314f9b8f35e6aa70a7971273657715e1206faf6b2a746853e53ec
MD5 1c33d39269f76a1bd5d3fc37116bf120
BLAKE2b-256 541caf6f6f74f74c238c3f84a7960023474d3877975b23a868467a1056bdad1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page