Jump to content

Mona

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Mona got a reaction from attila in Using the spectrum analyzer on Raspberry Pi 4   
    Hi @attila, 
    That resolved the issue. Thank you for your help!
    Mona
  2. Like
    Mona reacted to attila in Using the spectrum analyzer on Raspberry Pi 4   
    Hi @Mona
    The last argument should be a pointer, byref(to a c_double) or None nullptr if you are not interested in this.
    rgdWindow = (c_double*nSamples)()
    vBeta = c_double(1.0) # used only for Kaiser window
    vNEBW = c_double() # noise equivalent bandwidth
    dwf.FDwfSpectrumWindow(byref(rgdWindow), c_int(nSamples), DwfWindowFlatTop, vBeta, byref(vNEBW))
    or
    dwf.FDwfSpectrumWindow(byref(rgdWindow), c_int(nSamples), DwfWindowFlatTop, vBeta, None)
×
×
  • Create New...