wolfhece.xyz_file
Author: HECE - University of Liege, Pierre Archambeau Date: 2024
Copyright (c) 2024 University of Liege. All rights reserved.
This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.
Module Contents
- class wolfhece.xyz_file.XYZFile(fname: str, toread: bool = True, folder: str = None, bounds: list = None, delimiter: str = ',')[source]
Classe pour la gestion des fichiers xyz
- read_from_file(folder: str = None, bounds: list = None, delimiter=',')[source]
Lecture d’un fichier xyz et remplissage de l’objet
- wolfhece.xyz_file.xyz_scandir(mydir: str, bounds: list, delimiter: str = ',') numpy.ndarray [source]
Function that reads all the xyz files in a directory and its subdirectories
- Parameters:
mydir – directory to scan
bounds – bounds of the area to consider [[x1,x2],[y1,y2]]
- Dtype mydir:
str
- Dtype bounds:
list
- Returns:
list of points