Where absolute EM gain is desired, this PR tries to retrieve the header key measured EM gain (EMGAIN_M), and if applied EM gain (EMGAIN_A) if that fails, and commanded EM gain (CMDGAIN) if that fails. For sorting by EM gain, commanded EM gain or applied EM gain is used instead of measured EM gain (since measured EM gain will vary frame to frame even if the commanded EM gain is the same for them all).
(same changes as in deleted emgain_a branch but w/o whitespace differences)
Type of change
New feature (non-breaking change which adds functionality)
Reference any relevant issues (don't forget the #)
108
Checklist before requesting a review
[ X] I have linted my code
[ X] I have verified that all unit tests pass in a clean environment and added new unit tests, as needed
[ X] I have verified that all docstrings are properly formatted and added new documentation, as needed
Describe your changes
Where absolute EM gain is desired, this PR tries to retrieve the header key measured EM gain (EMGAIN_M), and if applied EM gain (EMGAIN_A) if that fails, and commanded EM gain (CMDGAIN) if that fails. For sorting by EM gain, commanded EM gain or applied EM gain is used instead of measured EM gain (since measured EM gain will vary frame to frame even if the commanded EM gain is the same for them all). (same changes as in deleted emgain_a branch but w/o whitespace differences)
Type of change
New feature (non-breaking change which adds functionality)
Reference any relevant issues (don't forget the #)
108
Checklist before requesting a review