tomwer.core.volume.volumefactory.VolumeFactory#

class tomwer.core.volume.volumefactory.VolumeFactory#
static create_tomo_object_from_identifier(identifier)#
Parameters:
  • scan_path (TextIOWrapper) – path to the scan directory or file

  • entry – entry on the file. Requested for hdf5 files

  • accept_bliss_scan – if True the factory can return some BlissScan But this is only compatible with the Tomomill processing.

Returns:

TomwerScanBase instance fitting the scan folder or scan path

Return type:

tomwer.core.scan.scanbase.TomwerScanBase

Raises:

ValueError if scan_path is not containing a scan

static from_identifier_to_vol_urls(identifier)#

convert an identifier to a volume and return all the existing url of this volume

Return type:

Optional[tuple]