as_dataarray

SRF.as_dataarray(coordinate)[source]

Return xarray.DataArray object.

Coordinate can be “wavelength” (which will be in m), “frequency” (which will be in Hz), or “wavenumber” (which will be in 1/cm).