The goal is to predict a genetic distance of species from the spectra. For instance if the genetic distance of species 1 and species 2 is very height I would expect a different spectra. If the distance is 0 or very low,m the spectra are the same /very similar.
In that case, defining the distance between two spectra based on the spectra makes no sense – you ...
Below is an attempt to do what you're asking in Python.
First, the dashed item:
Then the sensor. It's uniform,so just comes out as black.
Then the output of the sensor (convolve the thing to be measured with the sensor).
Finally, the output of the deconvolution.
Note that the output is not precisely the same as the input, but it's pretty close.
you can create flowgraph in c++ like gqrx and i think GNU Radio Manual and C++ API Reference documents will help you. This is gnuradio c++ document for top_block if you could not use it let me know to write a sample for you. These documents are for gnuradio version 3.7 and in gnuradio 3.8 there is c++ code generation and gnuradio blocks are porting to c++ ...