Yes, I am referring to "Plot Spectrum"...
But instead of having to export the data, since that has to be done manually as far as I know, I want to automate the process
record -> analyze recording -> plot spectrum (generate spectrum data) -> python for analysis