Skip to main content
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.

Metadata

Release files for fibomat 0.6.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 fibomat 0.6.0
File Size Uploaded Provenance Actions
fibomat-0.6.0.tar.gz 6.8 MB Without provenance Details for fibomat-0.6.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fibomat 0.6.0
File Actions
fibomat-0.6.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for fibomat-0.6.0-cp313-cp313-win_amd64.whl
fibomat-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for fibomat-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
fibomat-0.6.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for fibomat-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
fibomat-0.6.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for fibomat-0.6.0-cp313-cp313-macosx_10_13_x86_64.whl
fibomat-0.6.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for fibomat-0.6.0-cp312-cp312-win_amd64.whl
fibomat-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for fibomat-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
fibomat-0.6.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for fibomat-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
fibomat-0.6.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for fibomat-0.6.0-cp312-cp312-macosx_10_13_x86_64.whl
fibomat-0.6.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for fibomat-0.6.0-cp311-cp311-win_amd64.whl
fibomat-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for fibomat-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
fibomat-0.6.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for fibomat-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
fibomat-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for fibomat-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl
fibomat-0.6.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for fibomat-0.6.0-cp310-cp310-win_amd64.whl
fibomat-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for fibomat-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
fibomat-0.6.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for fibomat-0.6.0-cp310-cp310-macosx_11_0_arm64.whl
fibomat-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details for fibomat-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl
fibomat-0.6.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for fibomat-0.6.0-cp39-cp39-win_amd64.whl
fibomat-0.6.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for fibomat-0.6.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
fibomat-0.6.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details for fibomat-0.6.0-cp39-cp39-macosx_11_0_arm64.whl
fibomat-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details for fibomat-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl

Total release size: 17.3 MB

Release files / fibomat-0.6.0.tar.gz

Download URL fibomat-0.6.0.tar.gz
Size 6.8 MB
Tags Source
SHA-256 checksum
How to use checksums
0eee8ffa220200c452828da617dd310380b565686cf0c20978d0a43f47adb09c
BLAKE2b-256 checksum
How to use checksums
9b72ece8bacdf9747224cbf14732034b904f9fdf35e7a5b2300dc58b2b14243f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp313-cp313-win_amd64.whl

Download URL fibomat-0.6.0-cp313-cp313-win_amd64.whl
Size 933.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
7e02bfe88c74196fe340e25a2543fbcabdc2f2c2ca6758531d0ef5321f604d2b
BLAKE2b-256 checksum
How to use checksums
44fe3dfe68bb6cd2c24e05d6a15c2eb73283f0d66ae2fd70c5ca4e8e58da6816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL fibomat-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 390.0 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
89df419c7ebe2731f5d83a9fd5b28e1b236312a48120b9d4c29c511689ceb29e
BLAKE2b-256 checksum
How to use checksums
1f7b54d7c573c06abba0db7fc5c854ab9a2196c765e61e05c9359967d24b221c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL fibomat-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
Size 383.4 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d5384a84e24831c40b51044dfb0cb9a56f147ec9046e72a798269b2bacb60072
BLAKE2b-256 checksum
How to use checksums
b2d5fb7f39764e0ed02612938ff259d365fa616631cf1b7f622ad401567fbecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL fibomat-0.6.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 402.0 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
6385c8fb6ee080da00362772b8568b53852f17f49d4eb53ce3b663c39158a086
BLAKE2b-256 checksum
How to use checksums
ed7699c7a6fff9b0eac5cf6bbd0536cb62224526afc43fb4ff1ca208a9f9f10b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp312-cp312-win_amd64.whl

Download URL fibomat-0.6.0-cp312-cp312-win_amd64.whl
Size 933.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
5956d13be734236f73fcd9f1d1c62b312c5641a4132c4a90827f2e679a1b1e46
BLAKE2b-256 checksum
How to use checksums
a7e3e20c69af20f1f7f03798a6a90847847dd0ad7dc675380633ee34578e5e42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL fibomat-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 390.0 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7a6d343066767cf6e0d70b7ce2bbd9a40f91b1bfd1609f0cd87abfe3de100ade
BLAKE2b-256 checksum
How to use checksums
322a7b839580f17ad1380efd510d2d8189472c253093ee5eba67075b26addc67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL fibomat-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
Size 383.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1d8c0548482e317a5297d6e2e8af609a583bb9ff64667a7039cfe9a86526334a
BLAKE2b-256 checksum
How to use checksums
3bf850f6fe76c56e4f8a7e7e0e5477abb696a0232312d4de2a9c9be88e30fa16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL fibomat-0.6.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 401.9 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
cf2000125f830fc50ca648c990ad1410dee188b41c414a5ccb49666d5ae3e1af
BLAKE2b-256 checksum
How to use checksums
3754601e24728ff045ac03d6fcaea735d58354100be804c4d4b3546376b56cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp311-cp311-win_amd64.whl

Download URL fibomat-0.6.0-cp311-cp311-win_amd64.whl
Size 933.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ae21f7fa5b2344dbe6200b748cb7b853bc337ad911573260987a848ece0d7de0
BLAKE2b-256 checksum
How to use checksums
82b149f975ca79c3f8d59ebca821c02cbb35ad0d9f4e4c8ebc998cc3607fe556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL fibomat-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 389.7 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
72b62152861ec73e8125e076cdddb58dc7c9a38c82b4769965cf8961c4ecf0c9
BLAKE2b-256 checksum
How to use checksums
2bdb8a28202fd8bc386e8ff893e9b4b5c6c2e3bcaa5f9f748aee961a59115851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL fibomat-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
Size 383.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
badc7e8d93ba61328810722c01a5d84023f85ddd91fc9178abe87ddcaaa394dd
BLAKE2b-256 checksum
How to use checksums
130c2aee9f300d6b909460f8ca1a07848c138fbeb5be4b80ec3482e260a0dcf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl

Download URL fibomat-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 402.7 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
9c04538d0725d861ea2430923ebd04f08c2c1a207501daa9de14f4afcd1002cc
BLAKE2b-256 checksum
How to use checksums
f834e0f9945a3515c53a8b4695d16becfc2730c1706b0053e536b020246a7f80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp310-cp310-win_amd64.whl

Download URL fibomat-0.6.0-cp310-cp310-win_amd64.whl
Size 931.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
ad055c07067623fc8334daa15d41f19fa2d5951ce6ea1df2c3f1c7f16e44425e
BLAKE2b-256 checksum
How to use checksums
4e50666fc4582689fff3842d79e29ca6568cf840ebe757e275474018e8f15be7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL fibomat-0.6.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 389.0 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0cdd29387f593dc0d2814cc73fe0fb4e0846d6be38834effc4697be4ac926f11
BLAKE2b-256 checksum
How to use checksums
1d4a8624bb05def08e15b8582ee3489f8ec4aa268d3dd560fdbd709ba570d2e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL fibomat-0.6.0-cp310-cp310-macosx_11_0_arm64.whl
Size 382.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0dd9ff4434bc351dc9ab7aa9e4201e61aa4a24384aa7036fd279127a5426a952
BLAKE2b-256 checksum
How to use checksums
107a37fdf4a7bb1c3995f6286c02e7336882051946f230df50aaebe1e3462626
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl

Download URL fibomat-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl
Size 401.4 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
abf0fa200f3a9df1cd1d0ee3b9edcc73206008302b976b803f6440522589bc4d
BLAKE2b-256 checksum
How to use checksums
b94cf6c2c39cd3e72f3da4d8647e52bdc029c890d4d139210df9d9f135ac1534
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp39-cp39-win_amd64.whl

Download URL fibomat-0.6.0-cp39-cp39-win_amd64.whl
Size 931.8 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
890fae0e186acae944b6af81b7def618635324b24bcb265fc2b8210aa6575fd9
BLAKE2b-256 checksum
How to use checksums
4bded1d5b2e3aecfd3836b571e217c58b83181b941e04b8c476e542a544af371
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL fibomat-0.6.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 389.0 kB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
eca5bf52605946402b6fed9d8e08e83a289060310355c134b75da05a938ee281
BLAKE2b-256 checksum
How to use checksums
780b56d7fcc80890656652015cfa4e9dab3beab0ffa86167db406409c8835975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL fibomat-0.6.0-cp39-cp39-macosx_11_0_arm64.whl
Size 382.4 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
53001a4005cf8eabfe54d372ddea6f723421700eba59841cc9e645ac4467153b
BLAKE2b-256 checksum
How to use checksums
f1f9bd6d52e0015c163b0e3fbc5a63ffce207d4e668d1e2028dcf45a7c654bcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / fibomat-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl

Download URL fibomat-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Size 401.5 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e63b3fda34028c1c1f1025d64aba513bd75e2124b82211a9d6c0dd455af1727c
BLAKE2b-256 checksum
How to use checksums
682131df63fb94532d8d7d2948ca9642403d66ca2446d4adab14151a10fb85dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Security for fibomat 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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