SpectraRay Import/Export helpers
A helper class to load data from SpectraRay ASCII Files. It only supplies a rundimentary loading of standard psi/delta values and misses some other features.
- class elli.spectraray.SpectraRay(path)[source]
Helper class to load spectraray ascii files into pyEllis pandas format.
- loadDispersionTable(fname)[source]
Load a dispersion table from a ascii file in the spectraray materials ascii format. This only accounts for tabulated dielectric function data. Spectraray also stores dispersion data in other formats, but this function is not able to read these other formats.
- Parameters
fname (str) – The filename of the spectraray ascii file.
- Returns
A dispersion class containing the tabulated data.
- Return type
- static read_mmatrix(fname, decimal='.')[source]
Read a mueller matrix spectraray ascii file. Only reads the first entry and does not support reading multiple angles. For multiple angles you have to save the data in multiple files.
- static read_psi_delta_file(fname, decimal='.')[source]
Read a psi/delta spectraray ascii file. Only reads the first entry and does not support reading multiple angles. For multiple angles you have to save the data in multiple files.