yadg.extractors.public.panalytical package
Submodules
- yadg.extractors.public.panalytical.csv.extract(*, fn, encoding='utf-8', timezone='UTC', **kwargs)
Processes a PANalytical XRD csv file. All information contained in the header of the csv file is stored in the metadata.
- Parameters:
fn (
str
) – The file containing the trace(s) to parse.encoding (
str
) – Encoding offn
, by default “utf-8”.timezone (
str
) – A string description of the timezone. Default is “UTC”.
- Returns:
Data containing the timesteps and metadata. This filetype contains the full date specification.
- Return type:
- yadg.extractors.public.panalytical.xrdml.extract(*, fn, timezone, **kwargs)
Processes a PANalytical xrdml file.
- Parameters:
fn (
str
) – The file containing the trace(s) to parse.timezone (
str
) – A string description of the timezone. Default is “UTC”.
- Returns:
Data containing the timesteps, and metadata. This filetype contains the full date specification.
- Return type:
- yadg.extractors.public.panalytical.xy.extract(*, fn, encoding, **kwargs)
Processes a PANalytical XRD xy file.
- Parameters:
fn (
str
) – The file containing the trace(s) to parse.encoding (
str
) – Encoding offn
, by default “utf-8”.
- Returns:
Tuple containing the timesteps and metadata. A full timestamp is not available in
.xy
files.- Return type: