-
Notifications
You must be signed in to change notification settings - Fork 20
Fix issue 171 interpolation image shape #172
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
Conversation
| ] | ||
|
|
||
| class ImageMapper(TelescopeComponent): | ||
| class ImageMapper(Component): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would need to remove the passing of the subarray in line reader-L386 and reader-L393.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are somo FIXMEs and TODOs for setting up the configuration of the ImageMapper. I can fix this in a follow-up PR. Probably the ImageMapper trait in the reader should just be a ComponentName.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will let you handle any more todos :)
TjarkMiener
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @vuillaut
Fixes #171
The
interpolation_image_shapeparameter can now be passed directly as an arg to mapper constructors (BilinearMapper, ...), instead of being silently ignored.Changes:
interpolation_image_shape) to be initialized from kwargs