irradiapy.io.xyzreader module

This module contains the XYZReader class.

class irradiapy.io.xyzreader.XYZReader(file_path, encoding='utf-8')[source]

Bases: object

A class to read data from an extended XYZ file.

Variables:
  • file_path (Path) – The path to the XYZ file.

  • dtype (npt.DTypeLike) – The data type of the properties in the file. By default, it is set to None and will be determined from the file.

dtype: DTypeLike = None
encoding: str = 'utf-8'
file: TextIO = None
file_path: Path