fibomat.backend package#
Backend related classes and functions. Backends are responsible for exporting projects to a appropriate file a microscope (software) can understand.
See default_backend module for example backends.
if you Implement your own backend, make sure to register it with
from fibomat.backend import registry, BackendBase
class MyNewBackend(BackendBase):
name = 'MyFancyName'
...
registry.register(MyNewBackend, MyNewBackend.name)
The new backend can now be used within the Project.export method.
Submodules#
- fibomat.backend.backendbase module
ShapeNotSupportedErrorshape_type()BackendBaseBackendBase.__init__()BackendBase.process_pattern()BackendBase.process_unknown()BackendBase.shape_methodsBackendBase.implemented_shape_methodsBackendBase.process_site()BackendBase.save()BackendBase.spot()BackendBase.line()BackendBase.rect()BackendBase.ellipse()BackendBase.circle()BackendBase.arc()BackendBase.arc_spline()BackendBase.parametric_curve()BackendBase.rasterized_points()BackendBase.rasterized_pattern()BackendBase.polyline()BackendBase.polygon()BackendBase.hollow_arc_spline()
- fibomat.backend.backendbasemeta module
- fibomat.backend.registry module