Skip to main content

fib-o-mat is a toolbox to generate patterns for focused ion beam instruments.

Project description

fibomat logo

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 for an introduction to this library and the user guide for a complete documentation. The module reference is to be found here.

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., Beilstein J. Nanotechnol. 2021, 12, 304-318. doi:10.3762/bjnano.12.25

Installation

Run in a terminal

$ pip install fibomat

It is highly recommended to use virtual environments.

There are several optional dependencies to install:

  • exporting: plotting and exporting patterns
  • io: loading SVG and DXF
  • gui: beam simulation gui

E.g., install fib-o-mat alongside the exporting dependencies via

$ pip install fibomat[exporting]

Example

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.

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

fibomat-0.6.0.tar.gz (6.8 MB view details)

Uploaded Source

Built Distributions

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

fibomat-0.6.0-cp313-cp313-win_amd64.whl (933.3 kB view details)

Uploaded CPython 3.13Windows x86-64

fibomat-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (390.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fibomat-0.6.0-cp313-cp313-macosx_11_0_arm64.whl (383.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fibomat-0.6.0-cp313-cp313-macosx_10_13_x86_64.whl (402.0 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

fibomat-0.6.0-cp312-cp312-win_amd64.whl (933.3 kB view details)

Uploaded CPython 3.12Windows x86-64

fibomat-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (390.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fibomat-0.6.0-cp312-cp312-macosx_11_0_arm64.whl (383.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

fibomat-0.6.0-cp312-cp312-macosx_10_13_x86_64.whl (401.9 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

fibomat-0.6.0-cp311-cp311-win_amd64.whl (933.0 kB view details)

Uploaded CPython 3.11Windows x86-64

fibomat-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (389.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fibomat-0.6.0-cp311-cp311-macosx_11_0_arm64.whl (383.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

fibomat-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl (402.7 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

fibomat-0.6.0-cp310-cp310-win_amd64.whl (931.4 kB view details)

Uploaded CPython 3.10Windows x86-64

fibomat-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (389.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fibomat-0.6.0-cp310-cp310-macosx_11_0_arm64.whl (382.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

fibomat-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl (401.4 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

fibomat-0.6.0-cp39-cp39-win_amd64.whl (931.8 kB view details)

Uploaded CPython 3.9Windows x86-64

fibomat-0.6.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (389.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fibomat-0.6.0-cp39-cp39-macosx_11_0_arm64.whl (382.4 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

fibomat-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl (401.5 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

Details for the file fibomat-0.6.0.tar.gz.

File metadata

  • Download URL: fibomat-0.6.0.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fibomat-0.6.0.tar.gz
Algorithm Hash digest
SHA256 0eee8ffa220200c452828da617dd310380b565686cf0c20978d0a43f47adb09c
MD5 444e226002035c27fe1c9e4842431303
BLAKE2b-256 9b72ece8bacdf9747224cbf14732034b904f9fdf35e7a5b2300dc58b2b14243f

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fibomat-0.6.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 933.3 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fibomat-0.6.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7e02bfe88c74196fe340e25a2543fbcabdc2f2c2ca6758531d0ef5321f604d2b
MD5 785069858b88930519e465bf5308c978
BLAKE2b-256 44fe3dfe68bb6cd2c24e05d6a15c2eb73283f0d66ae2fd70c5ca4e8e58da6816

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 89df419c7ebe2731f5d83a9fd5b28e1b236312a48120b9d4c29c511689ceb29e
MD5 7c06b3c9a51c1f85a58242bf4c14270e
BLAKE2b-256 1f7b54d7c573c06abba0db7fc5c854ab9a2196c765e61e05c9359967d24b221c

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5384a84e24831c40b51044dfb0cb9a56f147ec9046e72a798269b2bacb60072
MD5 077ae521b2d605f8c7ad08b047f1e217
BLAKE2b-256 b2d5fb7f39764e0ed02612938ff259d365fa616631cf1b7f622ad401567fbecf

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6385c8fb6ee080da00362772b8568b53852f17f49d4eb53ce3b663c39158a086
MD5 933391f9e5ebe0f944459f43e23780b7
BLAKE2b-256 ed7699c7a6fff9b0eac5cf6bbd0536cb62224526afc43fb4ff1ca208a9f9f10b

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fibomat-0.6.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 933.3 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fibomat-0.6.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5956d13be734236f73fcd9f1d1c62b312c5641a4132c4a90827f2e679a1b1e46
MD5 7ce51c3807123df2d034e6711433bdd6
BLAKE2b-256 a7e3e20c69af20f1f7f03798a6a90847847dd0ad7dc675380633ee34578e5e42

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7a6d343066767cf6e0d70b7ce2bbd9a40f91b1bfd1609f0cd87abfe3de100ade
MD5 41afc788b7ec6dea0e12d67d9108f4de
BLAKE2b-256 322a7b839580f17ad1380efd510d2d8189472c253093ee5eba67075b26addc67

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1d8c0548482e317a5297d6e2e8af609a583bb9ff64667a7039cfe9a86526334a
MD5 aa3d14c78ec3aafa9b3cc95f579384e2
BLAKE2b-256 3bf850f6fe76c56e4f8a7e7e0e5477abb696a0232312d4de2a9c9be88e30fa16

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cf2000125f830fc50ca648c990ad1410dee188b41c414a5ccb49666d5ae3e1af
MD5 768f12f238aa7066efbe62a96c2ab4d9
BLAKE2b-256 3754601e24728ff045ac03d6fcaea735d58354100be804c4d4b3546376b56cbd

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: fibomat-0.6.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 933.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fibomat-0.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ae21f7fa5b2344dbe6200b748cb7b853bc337ad911573260987a848ece0d7de0
MD5 afc47e78d8e8ee5265308933050b0cb7
BLAKE2b-256 82b149f975ca79c3f8d59ebca821c02cbb35ad0d9f4e4c8ebc998cc3607fe556

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 72b62152861ec73e8125e076cdddb58dc7c9a38c82b4769965cf8961c4ecf0c9
MD5 888bdf23ef49ccd7c581da5b65eda0a6
BLAKE2b-256 2bdb8a28202fd8bc386e8ff893e9b4b5c6c2e3bcaa5f9f748aee961a59115851

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 badc7e8d93ba61328810722c01a5d84023f85ddd91fc9178abe87ddcaaa394dd
MD5 f9ecbc33dc83b587690e22a3a7c5c4ef
BLAKE2b-256 130c2aee9f300d6b909460f8ca1a07848c138fbeb5be4b80ec3482e260a0dcf6

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9c04538d0725d861ea2430923ebd04f08c2c1a207501daa9de14f4afcd1002cc
MD5 a3adaf82d8eb7a5533603f9cbfefbd99
BLAKE2b-256 f834e0f9945a3515c53a8b4695d16becfc2730c1706b0053e536b020246a7f80

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: fibomat-0.6.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 931.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fibomat-0.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ad055c07067623fc8334daa15d41f19fa2d5951ce6ea1df2c3f1c7f16e44425e
MD5 2cc1c3b39bf5f5bd5a59a165198a8745
BLAKE2b-256 4e50666fc4582689fff3842d79e29ca6568cf840ebe757e275474018e8f15be7

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0cdd29387f593dc0d2814cc73fe0fb4e0846d6be38834effc4697be4ac926f11
MD5 cbda045155919709bf607c5738c931a6
BLAKE2b-256 1d4a8624bb05def08e15b8582ee3489f8ec4aa268d3dd560fdbd709ba570d2e2

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0dd9ff4434bc351dc9ab7aa9e4201e61aa4a24384aa7036fd279127a5426a952
MD5 9db44f845f19d0b9d549cfec72f3a728
BLAKE2b-256 107a37fdf4a7bb1c3995f6286c02e7336882051946f230df50aaebe1e3462626

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 abf0fa200f3a9df1cd1d0ee3b9edcc73206008302b976b803f6440522589bc4d
MD5 ee9ab2f258c4326df8fdeb5dc0ed3489
BLAKE2b-256 b94cf6c2c39cd3e72f3da4d8647e52bdc029c890d4d139210df9d9f135ac1534

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: fibomat-0.6.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 931.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for fibomat-0.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 890fae0e186acae944b6af81b7def618635324b24bcb265fc2b8210aa6575fd9
MD5 adefc90ed019cbd32f8de9615f2e2e77
BLAKE2b-256 4bded1d5b2e3aecfd3836b571e217c58b83181b941e04b8c476e542a544af371

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eca5bf52605946402b6fed9d8e08e83a289060310355c134b75da05a938ee281
MD5 dfe687e5ee62ba85908928444613219d
BLAKE2b-256 780b56d7fcc80890656652015cfa4e9dab3beab0ffa86167db406409c8835975

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53001a4005cf8eabfe54d372ddea6f723421700eba59841cc9e645ac4467153b
MD5 dfc91d3952cc1eff5dc045bb3e434beb
BLAKE2b-256 f1f9bd6d52e0015c163b0e3fbc5a63ffce207d4e668d1e2028dcf45a7c654bcc

See more details on using hashes here.

File details

Details for the file fibomat-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fibomat-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e63b3fda34028c1c1f1025d64aba513bd75e2124b82211a9d6c0dd455af1727c
MD5 e5ced93aaed07b76f8662d1ad2345872
BLAKE2b-256 682131df63fb94532d8d7d2948ca9642403d66ca2446d4adab14151a10fb85dd

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