\(\renewcommand\AA{\unicode{x212B}}\)

HYSPECSuggestTIB v1

../_images/HYSPECSuggestTIB-v1_dlg.png

HYSPECSuggestTIB dialog.

Summary

Suggest possible time independent background range for HYSPEC

See Also

CNCSSuggestTIB

This algorithm is also known as: SuggestTibHYSPEC

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) = HYSPECSuggestTIB(incidentEnergy)
print("Incident Energy = %i, tibMin = %.2f, tibMax = %.2f" % (incidentEnergy,tibMin,tibMax))

incidentEnergy = 40
(tibMin,tibMax) = HYSPECSuggestTIB(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: AlgorithmIndex | Inelastic\Utility

Source

Python: HYSPECSuggestTIB.py