Evaluation routine for HSZ data structures

Contents

Syntax

    HSZ = eval_HSZ(HSPipeline);
    HSZ = eval_HSZ(HSPipeline, wavelength);

Description:

    Evaluates a HSZ data structure so as to return another struct encoded in RAW 
    measurements over the wavelengths on wavelength. Note that this routine has 
    no effect if the HSZ structure has been RAW encoded.

Input:

    wavelength: Vector of target wavelengths. These have to be within the scope of
        HSPipeline.HDR.wavelength. If this parameter is not provided, 
        HSPipeline.HDR.wavelength is used instead.
    HSPipeline: Data structure to be evaluated.

Output:

    HSZ: Data structure encoded in RAW format evaluated over the wavelength vector
        wavelength.