Merge pull request #786 in PIPE/pipeline from bugfix/PIPE-1310-crash-at-the-hsd_imaging-stage-for-tp-spectral-scan-mode-data to main
* commit '77c5e7fe41cddd86e8ab7803932da9fe1d52c513':
PIPE-1310 use descriptive variable name instead of an immediate value
PIPE-1310 improve rasterscan heuristics to support TP spectral scan test data