Fixed-point implementation of FPGA spectrometer functionality