SuggestTibHYSPEC v1

../_images/SuggestTibHYSPEC-v1_dlg.png

SuggestTibHYSPEC dialog.

Summary

Suggest possible time independent background range for HYSPEC

Properties

Name Direction Type Default Description
IncidentEnergy Input number Mandatory Incident energy (3 to 100 meV)
TibMin Output number    
TibMax Output number    

Description

Suggest possible time independent background range for HYSPEC. It works for incident energy range from 3 to 100 meV.

Usage

Example:

incidentEnergy = 5
(tibMin,tibMax) = SuggestTibHYSPEC(incidentEnergy)
print "Incident Energy = %i, tibMin = %.2f, tibMax = %.2f" % (incidentEnergy,tibMin,tibMax)

incidentEnergy = 40
(tibMin,tibMax) = SuggestTibHYSPEC(incidentEnergy)
print "Incident Energy = %i, tibMin = %.2f, tibMax = %.2f" % (incidentEnergy,tibMin,tibMax)

Output:

Incident Energy = 5, tibMin = 39515.88, tibMax = 41515.88
Incident Energy = 40, tibMin = 11898.11, tibMax = 13898.11

Categories: Algorithms | PythonAlgorithms | Utility | Inelastic