=========
mcemtools
=========
.. image:: https://img.shields.io/pypi/v/mcemtools.svg
:target: https://pypi.python.org/pypi/mcemtools
.. image:: https://img.shields.io/travis/arsadri/mcemtools.svg
:target: https://travis-ci.com/arsadri/mcemtools
.. image:: https://readthedocs.org/projects/mcemtools/badge/?version=latest
:target: https://mcemtools.readthedocs.io/en/latest/?version=latest
:alt: Documentation Status
Deep unsupervised analysis tools for Four-dimensional Scanning Transmission Electron Microscopy (4D-STEM)
In order to run the pyms simulations, you have to get it from:
https://github.com/Michael-MD/py_multislice
Then also there is a utils.py in the examples directory that helps.
* Free software: MIT license
* Documentation: https://mcemtools.readthedocs.io.
Features
--------
* Denoising 4D-STEM data
* a few tools to help pre-process 4D-STEM data
Credits
-------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2022-09-07)
------------------
* First release on PyPI.
0.2.0 (2023-07-11)
------------------
* Many functions used for 4D-STEM analysis have been added.
* OOP is avoided as much as possible.
0.3.0 (2023-07-11)
------------------
* Tests are increasing in number
* init includes import of mcemtools
0.4.0 (2023-07-11)
------------------
* Many small bugs are fixed
0.5.0 (2023-07-12)
------------------
* Added binning to transforms
0.6.0 (2023-07-14)
------------------
* More tests are added
* Names are consistant accross the package.
0.7.0 (2023-07-15)
------------------
* markimage bug is fixed
0.8.0 (2023-07-19)
------------------
* markimage bug is fixed really as US version of centre is center.
* napari based GUI is added to mcemtools.
* bianary files can be read too.
0.8.1 (2023-07-27)
------------------
* viewer_4D is a lot more concise and bug free.
0.8.2 (2023-07-27)
------------------
* by pressing i, you get shapes info, m shows the mask and F5 updates the mask.
0.8.3 (2023-07-28)
------------------
* critical bug was fixed in viewer_4D
0.8.4 (2023-07-28)
------------------
* critical bug was fixed in viewer_4D
0.8.5 (2023-08-03)
------------------
* bug fixed in image_by_windows
0.8.6 (2023-08-05)
------------------
* viewer_4D handles arrows to move the selected objects.
0.8.7 (2023-08-31)
------------------
* added load_raw and load_dm4.
* bug fixed in viewer_4D, moves a lot smoother than before.
* viewer_4D shows a single image when size of the mask is 1 pixel, rapidly.
* conv_4D added to analysis
0.8.8 (2023-09-04)
------------------
* critical bug fixed in bin_4D
0.8.9 (2023-09-20)
------------------
* bug removed from Normalize_4D
* bug removed from SymmetrySTEM
* tets added to locate atom and ...
0.8.10 (2023-09-12)
-------------------
* bug removed from SymmetrySTEM and mirror is added
* data_maker_4D can be updated
* remove_islands_by_size bug fixed
0.8.11 (2023-09-25)
-------------------
* Bug fixed in viewer_4D
0.9.0 (2023-10-13)
-------------------
* added denoise4net
* added clustering4net and feature_maker_4D
0.9.1 (2024-02-23)
-------------------
* added denoise4_tsvd
* faster bin_4D
* torch handler does not update the model if the loss is inf or nan
0.9.2 (2024-03-23)
-------------------
* annular mask can handle even sized image
0.9.2 (2024-05-02)
-------------------
* viewer_4D takes second mask to subtract
0.9.3 (2024-05-24)
-------------------
* viewer_4D takes second mask to subtract
0.9.4 (2024-06-01)
-------------------
* minimal requirenments and test scripts for denoising is added
* first denoising example added
* many bugs fixed for the denoiser
* More concerete example is added for geometric flow based denoising for the paper
0.9.5 (2024-11-08)
-------------------
* Annular mask fixed
* added supervised 2D denoiser
* renamed denoise4net to denoise4_unet
0.9.6 (2024-11-08)
-------------------
* denoiser needed a fix
0.9.7 (2024-11-15)
-------------------
* critical bug fixed in applying spatial incoherence
0.9.8 (2024-11-15)
-------------------
* Maybe the installer should not install napari stuff
* removed autoconvolution from symmstem
0.9.9 (2024-12-19)
-------------------
* CapsNet is complete
0.9.10 (2025-01-18)
-------------------
* Denoising examples become consistant with current pyms version
0.9.11 (2025-01-18)
-------------------
* Adding a link to Michael pyms in the ReadMe file.
* fixed markimage
0.9.11 (2025-05-30)
-------------------
* fixed capsul network to handle any number of features in the output
0.9.13 (2025-09-01)
-------------------
* Annular mask bug fixed for non-square inputs
0.9.14 (2025-10-16)
-------------------
* Added Transformerregressir
Raw data
{
"_id": null,
"home_page": "https://github.com/arsadri/mcemtools",
"name": "mcemtools",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "mcemtools",
"author": "Alireza Sadri",
"author_email": "Alireza.Sadri@monash.edu",
"download_url": "https://files.pythonhosted.org/packages/90/dc/6fb38e2000e5c5894fb41511c5987a451d62d78429ebc65ed70cf5420e69/mcemtools-0.9.14.tar.gz",
"platform": null,
"description": "=========\nmcemtools\n=========\n\n\n.. image:: https://img.shields.io/pypi/v/mcemtools.svg\n :target: https://pypi.python.org/pypi/mcemtools\n\n.. image:: https://img.shields.io/travis/arsadri/mcemtools.svg\n :target: https://travis-ci.com/arsadri/mcemtools\n\n.. image:: https://readthedocs.org/projects/mcemtools/badge/?version=latest\n :target: https://mcemtools.readthedocs.io/en/latest/?version=latest\n :alt: Documentation Status\n\nDeep unsupervised analysis tools for Four-dimensional Scanning Transmission Electron Microscopy (4D-STEM) \n\nIn order to run the pyms simulations, you have to get it from:\n\nhttps://github.com/Michael-MD/py_multislice\n\nThen also there is a utils.py in the examples directory that helps.\n\n\n* Free software: MIT license\n* Documentation: https://mcemtools.readthedocs.io.\n\n\nFeatures\n--------\n\n* Denoising 4D-STEM data\n* a few tools to help pre-process 4D-STEM data\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.1.0 (2022-09-07)\n------------------\n\n* First release on PyPI.\n\n0.2.0 (2023-07-11)\n------------------\n\n* Many functions used for 4D-STEM analysis have been added.\n* OOP is avoided as much as possible.\n\n0.3.0 (2023-07-11)\n------------------\n\n* Tests are increasing in number\n* init includes import of mcemtools\n\n0.4.0 (2023-07-11)\n------------------\n\n* Many small bugs are fixed\n\n0.5.0 (2023-07-12)\n------------------\n* Added binning to transforms\n\n0.6.0 (2023-07-14)\n------------------\n* More tests are added\n* Names are consistant accross the package.\n\n0.7.0 (2023-07-15)\n------------------\n* markimage bug is fixed\n\n0.8.0 (2023-07-19)\n------------------\n* markimage bug is fixed really as US version of centre is center.\n* napari based GUI is added to mcemtools.\n* bianary files can be read too.\n\n0.8.1 (2023-07-27)\n------------------\n* viewer_4D is a lot more concise and bug free.\n\n0.8.2 (2023-07-27)\n------------------\n* by pressing i, you get shapes info, m shows the mask and F5 updates the mask.\n\n0.8.3 (2023-07-28)\n------------------\n* critical bug was fixed in viewer_4D\n\n0.8.4 (2023-07-28)\n------------------\n* critical bug was fixed in viewer_4D\n\n0.8.5 (2023-08-03)\n------------------\n* bug fixed in image_by_windows\n\n0.8.6 (2023-08-05)\n------------------\n* viewer_4D handles arrows to move the selected objects.\n\n0.8.7 (2023-08-31)\n------------------\n* added load_raw and load_dm4.\n* bug fixed in viewer_4D, moves a lot smoother than before.\n* viewer_4D shows a single image when size of the mask is 1 pixel, rapidly.\n* conv_4D added to analysis\n\n0.8.8 (2023-09-04)\n------------------\n* critical bug fixed in bin_4D\n\n0.8.9 (2023-09-20)\n------------------\n* bug removed from Normalize_4D\n* bug removed from SymmetrySTEM\n* tets added to locate atom and ...\n\n0.8.10 (2023-09-12)\n-------------------\n* bug removed from SymmetrySTEM and mirror is added\n* data_maker_4D can be updated\n* remove_islands_by_size bug fixed\n\n0.8.11 (2023-09-25)\n-------------------\n* Bug fixed in viewer_4D\n\n0.9.0 (2023-10-13)\n-------------------\n* added denoise4net\n* added clustering4net and feature_maker_4D\n\n0.9.1 (2024-02-23)\n-------------------\n* added denoise4_tsvd\n* faster bin_4D\n* torch handler does not update the model if the loss is inf or nan\n\n0.9.2 (2024-03-23)\n-------------------\n* annular mask can handle even sized image\n\n0.9.2 (2024-05-02)\n-------------------\n* viewer_4D takes second mask to subtract\n\n0.9.3 (2024-05-24)\n-------------------\n* viewer_4D takes second mask to subtract\n\n0.9.4 (2024-06-01)\n-------------------\n* minimal requirenments and test scripts for denoising is added\n* first denoising example added\n* many bugs fixed for the denoiser\n* More concerete example is added for geometric flow based denoising for the paper\n\n0.9.5 (2024-11-08)\n-------------------\n* Annular mask fixed\n* added supervised 2D denoiser\n* renamed denoise4net to denoise4_unet\n\n0.9.6 (2024-11-08)\n-------------------\n* denoiser needed a fix\n\n0.9.7 (2024-11-15)\n-------------------\n* critical bug fixed in applying spatial incoherence\n\n0.9.8 (2024-11-15)\n-------------------\n* Maybe the installer should not install napari stuff\n* removed autoconvolution from symmstem\n\n0.9.9 (2024-12-19)\n-------------------\n* CapsNet is complete\n\n0.9.10 (2025-01-18)\n-------------------\n* Denoising examples become consistant with current pyms version\n\n0.9.11 (2025-01-18)\n-------------------\n* Adding a link to Michael pyms in the ReadMe file.\n* fixed markimage\n\n0.9.11 (2025-05-30)\n-------------------\n* fixed capsul network to handle any number of features in the output\n\n0.9.13 (2025-09-01)\n-------------------\n* Annular mask bug fixed for non-square inputs\n\n0.9.14 (2025-10-16)\n-------------------\n* Added Transformerregressir\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "State of the art analysis tools for 4D STEM",
"version": "0.9.14",
"project_urls": {
"Homepage": "https://github.com/arsadri/mcemtools"
},
"split_keywords": [
"mcemtools"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cf0034adb9b32390bb5dc21a02c47496c539fc6b37e36a72fb62fc2f3a09cfa7",
"md5": "4d8a2b7176fb53dd6377bc3995e305cf",
"sha256": "e1e0c9c05575d8d1830e865ba380359163d2e40f0e9c72c0679d9b15f2f98199"
},
"downloads": -1,
"filename": "mcemtools-0.9.14-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "4d8a2b7176fb53dd6377bc3995e305cf",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8",
"size": 85931,
"upload_time": "2025-10-16T22:24:01",
"upload_time_iso_8601": "2025-10-16T22:24:01.421852Z",
"url": "https://files.pythonhosted.org/packages/cf/00/34adb9b32390bb5dc21a02c47496c539fc6b37e36a72fb62fc2f3a09cfa7/mcemtools-0.9.14-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "90dc6fb38e2000e5c5894fb41511c5987a451d62d78429ebc65ed70cf5420e69",
"md5": "ca0e4064ef416873a17818c0965802a9",
"sha256": "3ac85e18b082185f4934e783a172d336b2b92dfb39b4d28c7f83c385ce7576a0"
},
"downloads": -1,
"filename": "mcemtools-0.9.14.tar.gz",
"has_sig": false,
"md5_digest": "ca0e4064ef416873a17818c0965802a9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 86906,
"upload_time": "2025-10-16T22:24:02",
"upload_time_iso_8601": "2025-10-16T22:24:02.787091Z",
"url": "https://files.pythonhosted.org/packages/90/dc/6fb38e2000e5c5894fb41511c5987a451d62d78429ebc65ed70cf5420e69/mcemtools-0.9.14.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-16 22:24:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "arsadri",
"github_project": "mcemtools",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "lognflow",
"specs": []
},
{
"name": "scikit-learn",
"specs": []
},
{
"name": "PyQt5",
"specs": []
},
{
"name": "PySide6",
"specs": []
},
{
"name": "napari",
"specs": []
},
{
"name": "torch",
"specs": []
},
{
"name": "torchvision",
"specs": []
},
{
"name": "torchaudio",
"specs": []
},
{
"name": "pypng",
"specs": []
},
{
"name": "h5py",
"specs": []
}
],
"tox": true,
"lcname": "mcemtools"
}