read_las¶ petrophys.io.read_las read_las(filepath, *, encoding=None, **kwargs)[source]¶ Read LAS file and return Well object. Parameters: filepath (str or Path) – Path to LAS file encoding (str, optional) – Text encoding of the file (e.g. "latin-1"). By default UTF-8 is tried first, then lasio’s encoding detection. **kwargs – Other keywords are not accepted and raise TypeError. Returns: Well object with loaded data Return type: Well Examples >>> from petrophys.io import read_las >>> well = read_las("well_data.las") >>> print(well.curves) ['GR', 'RHOB', 'NPHI', 'RT']