fibomat


Namefibomat JSON
Version 0.4.0 PyPI version JSON
download
home_page
Summaryfib-o-mat is a toolbox to generate patterns for focused ion beam instruments.
upload_time2023-10-13 14:47:40
maintainer
docs_urlNone
author
requires_python>=3.9
licenseGPLv3
keywords focused ion beam fib pattern patterning beam path generation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!--- some hacky stuff get everything working on gitlab and pypi --->
<div align="center">

<img src="https://fib-o-mat.readthedocs.io/en/latest/_static/fibomat.png" width="50%" style="width: 50%; display: block; margin-left: auto; margin-right: auto;"  alt="fibomat logo" />
</div>

fib-o-mat is a Python library to create beam patterns for focused ion beam instruments.

Pattern geometries can be modeled directly in Python bsaed on (pre-)defined geometric primitives or importet from vector
graphics. These can be equipped with beam and rasterizing settings and exported to microscope compatible files.

fib-o-mat is by designed flexible and easily expandable. Hence, adding support for for different microscopes, custom
geometric primitives or optimization routines is a straightforward process.

For the usage of fib-o-mat, basic python knowledge and a good understanding of the target microscope are mandatory.
See the [getting started guide](https://fib-o-mat.readthedocs.io/en/latest/getting_started.html) for an introduction to
this library and the [user guide](https://fib-o-mat.readthedocs.io/en/latest/user_guide/user_guide.html) for a complete
documentation. The module reference is to be found [here](https://fib-o-mat.readthedocs.io/en/latest/reference.html).

<img src="https://fib-o-mat.readthedocs.io/en/latest/_images/flowchart.png" style="width: 100%;  height: auto;" alt="workflow" />

Made with :black_heart: and :coffee: at HZB and FBH in Berlin.

If you use this library in your work, please cite
```
Deinhart et al., ...
```    

Installation
============
Run in a terminal
```
$ pip install fibomat
```  
It is highly recommended to use virtual environments.

Example
=======
```python
from fibomat import Sample, Mill, Q_, U_
from fibomat.shapes import Line
from fibomat import raster_styles
from fibomat.default_backends import SpotListBackend

# create a Sample class object with optional description
sample = Sample('Useful description here')

# add a site to the sample with cente = (0, 0) and field of view of (10, 10)
site = sample.create_site(dim_position=([0, 0], U_('µm')), dim_fov=([10, 10], U_('µm')))  # '%*µm*)'

# create a Pattern with a Line shape and add it to the site
site.create_pattern(
    dim_shape=(Line((-5, 0), (5, 0)), U_('µm')),
    shape_mill=Mill(dwell_time=Q_('5 ms'), repeats=1),
    raster_style=raster_styles.one_d.Linear(pitch=Q_('1 nm'))
)

# export a rasterized version of the pattern as text file in a pre-defined (but editable) format. See docs for details.
sample.export(SpotListBackend).save('pattern.txt')

# plot the pattern
sample.plot()
```

License
=======

The source code is licensed under the GNU General Public License v3.0. This includes everything besides the 'docs' folder and its content in the git repository. See LICENSE.txt for a copy of the license.

The documentation is licensed under the Creative Commons Attribution 4.0 International. This includes everything in the 'docs' folder in the git repository and the documentation hosted at https://fib-o-mat.readthedocs.io/. A copy of the license is to be found at 'docs/LICENSE_DOCS.txt' in the git repository.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "fibomat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "focused ion beam fib pattern patterning beam path generation",
    "author": "",
    "author_email": "Victor Deinhart <victor.deinhart@helmholtz-berlin.de>",
    "download_url": "https://files.pythonhosted.org/packages/25/55/3091341765e8e865f0f41262bc2b65db2d67e0a4c45717f302f74481fe1b/fibomat-0.4.0.tar.gz",
    "platform": null,
    "description": "<!--- some hacky stuff get everything working on gitlab and pypi --->\n<div align=\"center\">\n\n<img src=\"https://fib-o-mat.readthedocs.io/en/latest/_static/fibomat.png\" width=\"50%\" style=\"width: 50%; display: block; margin-left: auto; margin-right: auto;\"  alt=\"fibomat logo\" />\n</div>\n\nfib-o-mat is a Python library to create beam patterns for focused ion beam instruments.\n\nPattern geometries can be modeled directly in Python bsaed on (pre-)defined geometric primitives or importet from vector\ngraphics. These can be equipped with beam and rasterizing settings and exported to microscope compatible files.\n\nfib-o-mat is by designed flexible and easily expandable. Hence, adding support for for different microscopes, custom\ngeometric primitives or optimization routines is a straightforward process.\n\nFor the usage of fib-o-mat, basic python knowledge and a good understanding of the target microscope are mandatory.\nSee the [getting started guide](https://fib-o-mat.readthedocs.io/en/latest/getting_started.html) for an introduction to\nthis library and the [user guide](https://fib-o-mat.readthedocs.io/en/latest/user_guide/user_guide.html) for a complete\ndocumentation. The module reference is to be found [here](https://fib-o-mat.readthedocs.io/en/latest/reference.html).\n\n<img src=\"https://fib-o-mat.readthedocs.io/en/latest/_images/flowchart.png\" style=\"width: 100%;  height: auto;\" alt=\"workflow\" />\n\nMade with :black_heart: and :coffee: at HZB and FBH in Berlin.\n\nIf you use this library in your work, please cite\n```\nDeinhart et al., ...\n```    \n\nInstallation\n============\nRun in a terminal\n```\n$ pip install fibomat\n```  \nIt is highly recommended to use virtual environments.\n\nExample\n=======\n```python\nfrom fibomat import Sample, Mill, Q_, U_\nfrom fibomat.shapes import Line\nfrom fibomat import raster_styles\nfrom fibomat.default_backends import SpotListBackend\n\n# create a Sample class object with optional description\nsample = Sample('Useful description here')\n\n# add a site to the sample with cente = (0, 0) and field of view of (10, 10)\nsite = sample.create_site(dim_position=([0, 0], U_('\u00b5m')), dim_fov=([10, 10], U_('\u00b5m')))  # '%*\u00b5m*)'\n\n# create a Pattern with a Line shape and add it to the site\nsite.create_pattern(\n    dim_shape=(Line((-5, 0), (5, 0)), U_('\u00b5m')),\n    shape_mill=Mill(dwell_time=Q_('5 ms'), repeats=1),\n    raster_style=raster_styles.one_d.Linear(pitch=Q_('1 nm'))\n)\n\n# export a rasterized version of the pattern as text file in a pre-defined (but editable) format. See docs for details.\nsample.export(SpotListBackend).save('pattern.txt')\n\n# plot the pattern\nsample.plot()\n```\n\nLicense\n=======\n\nThe source code is licensed under the GNU General Public License v3.0. This includes everything besides the 'docs' folder and its content in the git repository. See LICENSE.txt for a copy of the license.\n\nThe documentation is licensed under the Creative Commons Attribution 4.0 International. This includes everything in the 'docs' folder in the git repository and the documentation hosted at https://fib-o-mat.readthedocs.io/. A copy of the license is to be found at 'docs/LICENSE_DOCS.txt' in the git repository.\n\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "fib-o-mat is a toolbox to generate patterns for focused ion beam instruments.",
    "version": "0.4.0",
    "project_urls": {
        "Documentation": "https://fib-o-mat.readthedocs.io/en/latest/",
        "Repository": "https://gitlab.com/viggge/fib-o-mat"
    },
    "split_keywords": [
        "focused",
        "ion",
        "beam",
        "fib",
        "pattern",
        "patterning",
        "beam",
        "path",
        "generation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "75f8978e67eb91eeb6161462f07c50e49392c65eccde4e8a99d2cfd19f5b25d4",
                "md5": "bb4ddee34f4e127b7397b06458048206",
                "sha256": "c2b9703185957e2c384eaa53cd5be2c93b568319a5ad9640c470c4e652a30cfb"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "bb4ddee34f4e127b7397b06458048206",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 373622,
            "upload_time": "2023-10-13T14:47:18",
            "upload_time_iso_8601": "2023-10-13T14:47:18.717913Z",
            "url": "https://files.pythonhosted.org/packages/75/f8/978e67eb91eeb6161462f07c50e49392c65eccde4e8a99d2cfd19f5b25d4/fibomat-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99c6a5aa3542400c3f1ff556b95a3442f85eca4bbcb521799739bd2bc576b9bb",
                "md5": "2f7f26802e5c1f373e329acc956f32af",
                "sha256": "f621fb015267d7640071162f7740bd45213eda5baea8b0ed90e61b80c3b33057"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2f7f26802e5c1f373e329acc956f32af",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 377459,
            "upload_time": "2023-10-13T14:47:20",
            "upload_time_iso_8601": "2023-10-13T14:47:20.329532Z",
            "url": "https://files.pythonhosted.org/packages/99/c6/a5aa3542400c3f1ff556b95a3442f85eca4bbcb521799739bd2bc576b9bb/fibomat-0.4.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df7e31598d48730184bdd3fd632da9daf03cfd1ca4d27537f43fdf5dfc342b94",
                "md5": "3b85f344aace9f48481a0ed3a3a282e7",
                "sha256": "7280a308c8ea08309c7bf606002c18544f8db88d42f59ded5a420c79808b3108"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "3b85f344aace9f48481a0ed3a3a282e7",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 3814959,
            "upload_time": "2023-10-13T14:47:22",
            "upload_time_iso_8601": "2023-10-13T14:47:22.220064Z",
            "url": "https://files.pythonhosted.org/packages/df/7e/31598d48730184bdd3fd632da9daf03cfd1ca4d27537f43fdf5dfc342b94/fibomat-0.4.0-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2105e3de4992862df0db1019869a55ce9edaba782a191f5820fabaad4ab03387",
                "md5": "4db3f350e363bc2eebdf45d33cbeadba",
                "sha256": "23e639a9f42a37ec0e22426ad27437b692d827e297fad497d2a356b100c4b796"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4db3f350e363bc2eebdf45d33cbeadba",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 375102,
            "upload_time": "2023-10-13T14:47:23",
            "upload_time_iso_8601": "2023-10-13T14:47:23.914807Z",
            "url": "https://files.pythonhosted.org/packages/21/05/e3de4992862df0db1019869a55ce9edaba782a191f5820fabaad4ab03387/fibomat-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66ed699c281b3301f96f538a0e62c08bf079b4ca303f4e7d8003d55feb47be6e",
                "md5": "61cc43ac2e3b4b029413f204cab720d3",
                "sha256": "83f6fe51085f2ddae3b2acde7581bf91762a6e79aeb58d0943d1f1d841d7e9db"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "61cc43ac2e3b4b029413f204cab720d3",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 377989,
            "upload_time": "2023-10-13T14:47:25",
            "upload_time_iso_8601": "2023-10-13T14:47:25.956710Z",
            "url": "https://files.pythonhosted.org/packages/66/ed/699c281b3301f96f538a0e62c08bf079b4ca303f4e7d8003d55feb47be6e/fibomat-0.4.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fb3fa1f3ce7ee618cc96d85fe4eb95662c06711acee92225cea7f7fca9cfa5b7",
                "md5": "5709043696f73e27ebabefc347a23a57",
                "sha256": "c9682abb30740586f79f3abcedcc1b3848c804a5609495b62cd433ac9b94c250"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "5709043696f73e27ebabefc347a23a57",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 3817135,
            "upload_time": "2023-10-13T14:47:27",
            "upload_time_iso_8601": "2023-10-13T14:47:27.881011Z",
            "url": "https://files.pythonhosted.org/packages/fb/3f/a1f3ce7ee618cc96d85fe4eb95662c06711acee92225cea7f7fca9cfa5b7/fibomat-0.4.0-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "05707e788644662837d8e52c95e6c2c4c7f5a7106a36ec4ab29e26f9bbb4acd7",
                "md5": "39e5ed5f71f6fc0a642d271de80f9de0",
                "sha256": "c9a107eb589665f5bb98a4b984240daeb69072f9f2c19b7038e357e58617210c"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "39e5ed5f71f6fc0a642d271de80f9de0",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 373425,
            "upload_time": "2023-10-13T14:47:29",
            "upload_time_iso_8601": "2023-10-13T14:47:29.832179Z",
            "url": "https://files.pythonhosted.org/packages/05/70/7e788644662837d8e52c95e6c2c4c7f5a7106a36ec4ab29e26f9bbb4acd7/fibomat-0.4.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8bb98c27592cfe105528ee9077e050a2a749fcfee0e6e656cfd066677a75cf8d",
                "md5": "8f7cf76898935897fa43a5ff20213253",
                "sha256": "495a75a30b1b3dc852f3f1ba7d7c04ef8aa338b31ffca4b8324a10b070c8faf7"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8f7cf76898935897fa43a5ff20213253",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 378144,
            "upload_time": "2023-10-13T14:47:31",
            "upload_time_iso_8601": "2023-10-13T14:47:31.582970Z",
            "url": "https://files.pythonhosted.org/packages/8b/b9/8c27592cfe105528ee9077e050a2a749fcfee0e6e656cfd066677a75cf8d/fibomat-0.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "347d7525d4a6459522220ee6ba58ac0128a336633275dfc93cde71df36d8e141",
                "md5": "b1512c6f012f8723abe46642549d9ccc",
                "sha256": "aeeb1ab315c1d988f5bfcffa198908e0648883ad043b3e4a8abc12812d992fa3"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "b1512c6f012f8723abe46642549d9ccc",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 3814328,
            "upload_time": "2023-10-13T14:47:33",
            "upload_time_iso_8601": "2023-10-13T14:47:33.407466Z",
            "url": "https://files.pythonhosted.org/packages/34/7d/7525d4a6459522220ee6ba58ac0128a336633275dfc93cde71df36d8e141/fibomat-0.4.0-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e899042770047d14afc9280507f46bcda8b4fabf9f87041b1b574ba162112f74",
                "md5": "5bf21dcc6cf8217ffec31ab2648a0cbf",
                "sha256": "e60f294e9856220290d790d68900065a1de9d85f3ffde52dd0122395e4b332ce"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5bf21dcc6cf8217ffec31ab2648a0cbf",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 373784,
            "upload_time": "2023-10-13T14:47:35",
            "upload_time_iso_8601": "2023-10-13T14:47:35.566891Z",
            "url": "https://files.pythonhosted.org/packages/e8/99/042770047d14afc9280507f46bcda8b4fabf9f87041b1b574ba162112f74/fibomat-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ddea66dd0852c2de5914a599fc7f14b27be3f8b1de4f45f17038e24f6828b898",
                "md5": "18721f26c9c4c6bf3156576b9a91f403",
                "sha256": "67cf20579244ba1a5ca5e2ffc0c1a8ef024940d7071b9c9f06e7ed2eb502665b"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "18721f26c9c4c6bf3156576b9a91f403",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 377599,
            "upload_time": "2023-10-13T14:47:37",
            "upload_time_iso_8601": "2023-10-13T14:47:37.057202Z",
            "url": "https://files.pythonhosted.org/packages/dd/ea/66dd0852c2de5914a599fc7f14b27be3f8b1de4f45f17038e24f6828b898/fibomat-0.4.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "57ebe2d3c5fee947481611eb18dc03d4b69dd17c8ffd07dda6e288772998f204",
                "md5": "0a919354399706884f9916a7645b73dc",
                "sha256": "b4d5883cef13c6e75cba7134de1d887881811df1c2c1121bc4b7c09e22d031c4"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "0a919354399706884f9916a7645b73dc",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 3815885,
            "upload_time": "2023-10-13T14:47:39",
            "upload_time_iso_8601": "2023-10-13T14:47:39.036241Z",
            "url": "https://files.pythonhosted.org/packages/57/eb/e2d3c5fee947481611eb18dc03d4b69dd17c8ffd07dda6e288772998f204/fibomat-0.4.0-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25553091341765e8e865f0f41262bc2b65db2d67e0a4c45717f302f74481fe1b",
                "md5": "28f7e9cb135ba2232fb234bd47e20b3a",
                "sha256": "aa4fc49092404585d0dd32b922dfe41ff4043718b89d15c15b2c44f648ba0dda"
            },
            "downloads": -1,
            "filename": "fibomat-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "28f7e9cb135ba2232fb234bd47e20b3a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 6673251,
            "upload_time": "2023-10-13T14:47:40",
            "upload_time_iso_8601": "2023-10-13T14:47:40.492202Z",
            "url": "https://files.pythonhosted.org/packages/25/55/3091341765e8e865f0f41262bc2b65db2d67e0a4c45717f302f74481fe1b/fibomat-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-13 14:47:40",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "viggge",
    "gitlab_project": "fib-o-mat",
    "lcname": "fibomat"
}
        
Elapsed time: 0.13151s