module myna.database.peregrine_hdf5
Database class for an ORNL MDF Peregrine build's file structure that corresponds to the PEregrine 2023-10 dataset
class PeregrineHDF5
ORNL MDF Peregrine HDF5 archive structure
Args:
version: (default = "v2023_10") version for the HDF5 loader to use. The versionassociated with the public dataset (https: //doi.org/10.13139/ORNLNCCS/2008021) is set as the default assumed behavior for the data loader.
method PeregrineHDF5.__init__
__init__(version='v2023_10')
method PeregrineHDF5.create_scanfile
create_scanfile(part, layer)
Create a scanpath file from the HDF5 archive
Args:
part: name of the partlayer: layer number
method PeregrineHDF5.exists
exists()
method PeregrineHDF5.get_plate_size
get_plate_size()
Load the (x,y) build plate size in meters
method PeregrineHDF5.get_sync_image_size
get_sync_image_size()
Load the (x,y) image size in pixels
method PeregrineHDF5.load
load(metadata_type, part=None, layer=None)
Load and return a metadata value from the database
Implemented metadata loaders: - LaserPower - LayerThickness - Material - Preheat - SpotSize - STL - Scanpath
method PeregrineHDF5.set_path
set_path(path)
Set the path to the database
Args:
path: filepath to the HDF5 File
This file was automatically generated via lazydocs.