To use the Fixed offset option, you do this from Python (replace “NUMBER” with the value of your fixed offset):
import com.ionetrics.edgar.processing.ComputeSpectrum as ComputeSpectrum
ComputeSpectrum.setOffset("Fixed")
ComputeSpectrum.setFixedOffset(NUMBER)
To use the Calculated offset option, you do this:
import com.ionetrics.edgar.processing.ComputeSpectrum as ComputeSpectrum
ComputeSpectrum.setOffset("Calculated")