slaclab / pysmurf

Other
2 stars 9 forks source link

Making a frequency mask is very slow for a full ufm #662

Closed jlashner closed 2 years ago

jlashner commented 3 years ago

Describe the bug

Making a frequency mask (for instance in the stream_data_on function) is very slow when running on a full UFM, taking around a minute or so. This is because the current implementation is querying the subband info and channel center for each individual channel instead of using the centerFrequencyArray, which will return the centers for all channels in a band.

agustiner commented 2 years ago

This one looks fixed. Closing.