Python API Reference#

This section contains the complete Python API reference for read_aconity_layers.

Module#

A library for fast and efficient reading of layer data from the aconity mini powder bed fusion machine.

read_aconity_layers.read_layers(folder)#

Read all layers from the given directory.

Parameters:

folder (str) – The path to the directory to read from.

Returns:

The parsed and corrected layer data.

Return type:

ndarray

read_aconity_layers.read_selected_layers(file_list)#

Read a list of layer files.

Parameters:

file_list (List[str]) – The list of filepaths to read from.

Returns:

The parsed and corrected layer data.

Return type:

ndarray

read_aconity_layers.read_layer(file)#

Reads a layer from at the given filepath.

Parameters:

file (str) – The path to the file to read from.

Returns:

The parsed and corrected layer data.

Return type:

ndarray

Return Type Information#

The library includes comprehensive type stubs for full IDE support and type checking.

All functions return NumPy arrays with the following structure:

  • Column 0: X coordinates (corrected)

  • Column 1: Y coordinates (corrected)

  • Column 2: Z coordinates (layer height)

  • Column 3: Pyrometer 1 readings

  • Column 4: Pyrometer 2 readings