Getting started¶
Installation¶
You can install the package as follows:
Using pip
(.venv) $ pip install git+https://github.com/mipt-srf/grain-processor
or uv
$ uv add git+https://github.com/mipt-srf/grain-processor
Using pip
(.venv) $ pip install grain-processor
or uv
$ uv add grain-processor
Usage¶
You can start with this snippet of code
from grain_processor import GrainProcessor as GP
gp = GP(
r"path\to\image.tif",
cut_SEM=True,
fft_filter=True,
)
gp.save_results()