Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix definition of evb preprocessing flags, apply calibration only when needed #209

Merged
merged 6 commits into from
Feb 29, 2024

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Jan 26, 2024

No description provided.

@maxnoe maxnoe changed the title Fix definition of evb preprocessing flags, code does not match ICD! Fix definition of evb preprocessing flags, apply calibration only when needed Jan 26, 2024
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.67%. Comparing base (ae3ca45) to head (d4f6b25).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
+ Coverage   89.81%   90.67%   +0.85%     
==========================================
  Files          21       22       +1     
  Lines        2415     2498      +83     
==========================================
+ Hits         2169     2265      +96     
+ Misses        246      233      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maxnoe maxnoe requested a review from moralejo February 22, 2024 11:16
Comment on lines +17 to +19
As of 2024-01-26, there is a bug in EVB that the ttype_pattern and
tdp_action arrays are actually mixed up in the camera_configuration
object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be explained a bit more? The meaning of both items, and the nature (and consequences) of the problem.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EVB just filled the real ttype_pattern into tdp_action and vice-versa. So the consequence is that if you want to know one, you actually have to look into the other field.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that actually fixed now in the code anywhere? Or simply not yet used?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked again and realized I had not updated the get_evb_preprocessings function below. This is now done and I added a test.

As far as I know, this bug is not yet fixed in EVB.

Copy link
Contributor

@moralejo moralejo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor comments

@maxnoe maxnoe merged commit 1285c6a into main Feb 29, 2024
8 of 9 checks passed
@maxnoe maxnoe deleted the automatic_evb_corrections branch February 29, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants