Skip to main content

Micral (MICROstructure anALysis)

Grain separation module


Description :

The aim is to distinguish between coarse and ultrafine graine microstructure. This tools output the pourcentage of coarse grain.


Installation :

pip install micral_grain


Usage :

In a python file or directly in the interpreter, type :

import micral_grain print(micral_grain.analyse(<your image>))

Where <your image> is the name of the image to analyse (with extension (ie jpg, png, bmp etc…)) The output is an unique value.

It’s also possible to send multiple image at once : in that case, provide a list of name : <your image> = [<image1>, <image2>, …] And the return will be also a list of all the results

Note that the image must be in the same directory than the python file (or in the current directory of the command)

Release files for micral-grain 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micral-grain 2.0
File Size Uploaded
micral_grain-2.0.tar.gz 2.5 kB Details

Release files / micral_grain-2.0.tar.gz

Download URL micral_grain-2.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
89487ecf4ff5ddfe03c83060308f6c76b3145896833d411bee40a810ad480625
BLAKE2b-256 checksum
How to use checksums
6ce8e8158ec3c71f94185c312d48b71fa31fcbf5943fde9ee8c308383019c233
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.6

Release history Release notifications | RSS feed

This release

2.0 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page