slaclab / pysmurf

Other
2 stars 9 forks source link

Adds getAllData method #677

Closed jlashner closed 2 years ago

jlashner commented 2 years ago

Issue

This PR resolves #676.

Description

Adds a getAllData function to the SmurfPacket class that returns an array containing all detector data. This eliminates repeated function calls to the getData function.

Tested with the SO smurf-streamer, and greatly improves data processing speeds at high channel counts.

Does this PR break any interface?