GNU radio, gr_modtool

I’m trying to write a block for spectrum sensing in Gnu Radio using gr_modtool. I have a python code using LSTM (machine learning) model of about 10-15 classes to convert the data into binary, reshape, sort, train and validate and again sort in order to choose a particular frequency out of the available 4 frequency channels that I’m using to demonstrate the cognitive radio scenario. I would like to know if it is possible that i make one block out of all this code I have. I’m posting the code link below from which I would use only the “cognitieradiov2” class for this application.

Kindly, help me out here
It is my thesis. Thanks in advance.

1 Like