Averaging - File compatability
Posted: Thu Feb 11, 2016 5:56 pm
Hello,
I am working with OPUS 7.5 and trying to build a macro to allow our users to add standards to our raw materials spectrum library.
Our operators will measure a number of samples from a batch or batches of what will be assumed to be the same material. Spectrum for each sample will then be averaged (to reduce the appearance of inherent variation) to form the standard spectrum. The standard spectrum will be added to the library for comparison and searching later on as we monitor various materials.
I am having a hard time getting the Averaging function to work properly.
In or out of the macro, I am told spectra are incompatible when I try to average them. In the macro, I was averaging spectrum measured with the exact same parameters, literally taken during part of a loop sequence. Same wavenumber range, same instrument, scan time, apodization, literally everything (except the filename or extension) is the same. The macro returns the last file selected for averaging as the average. When I manually average the spectra (out of the macro) to compare, I am told the spectra are incompatible.
I have gone through some older saved spectra taken during the same project/experiment to try and determine what makes spectrum files compatible with no luck. Every set of files I have tried to average are incompatible.
If two files taken with the same experiment parameters seconds apart from each other aren't compatible, how can I generate compatible files? Is another step required in processing these files?
What are the compatibility criteria?
I have the OPUS - Programming manual, version 4 (provided under the "help" menu, but I haven't been able to locate any information on file compatibility.
Any insight is greatly appreciated.
Jared Conley
LUMOS User
I am working with OPUS 7.5 and trying to build a macro to allow our users to add standards to our raw materials spectrum library.
Our operators will measure a number of samples from a batch or batches of what will be assumed to be the same material. Spectrum for each sample will then be averaged (to reduce the appearance of inherent variation) to form the standard spectrum. The standard spectrum will be added to the library for comparison and searching later on as we monitor various materials.
I am having a hard time getting the Averaging function to work properly.
In or out of the macro, I am told spectra are incompatible when I try to average them. In the macro, I was averaging spectrum measured with the exact same parameters, literally taken during part of a loop sequence. Same wavenumber range, same instrument, scan time, apodization, literally everything (except the filename or extension) is the same. The macro returns the last file selected for averaging as the average. When I manually average the spectra (out of the macro) to compare, I am told the spectra are incompatible.
I have gone through some older saved spectra taken during the same project/experiment to try and determine what makes spectrum files compatible with no luck. Every set of files I have tried to average are incompatible.
If two files taken with the same experiment parameters seconds apart from each other aren't compatible, how can I generate compatible files? Is another step required in processing these files?
What are the compatibility criteria?
I have the OPUS - Programming manual, version 4 (provided under the "help" menu, but I haven't been able to locate any information on file compatibility.
Any insight is greatly appreciated.
Jared Conley
LUMOS User