spex_file_reader

The ANY SPECFILE method allows you to analyze any type of input data file by supplying your own software readers. This is especially useful for new data types that have not been explicitly implemented in OSPEX (yet), but that you would like to analyze. The idea is that you supply two routines - readers for a spectrum and response file - and tell OSPEX the base name of those readers. When you set the spectrum input file in OSPEX to a file that it does not recognize, it will call your reader routines. If the name of your data is xxx, you would set spex_file_reader to 'xxx' and provide two routines called xxx_spec and xxx_drm to return the data and DRM for that data type.