-
Notifications
You must be signed in to change notification settings - Fork 6
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
Remove update range #417
base: main
Are you sure you want to change the base?
Remove update range #417
Conversation
reproject_events has long-since been updated to update the TLMIN/MAX values for the SKY column when reprojecting data, and dmmerge seems to do the correct thing too.
This has also picked up a few other updates to the runtool module.
@kjg - I don't see any reason not to do this, but thought I'd check (this script was written to address the old reproject_events behavior where the TLMIN/MAX wouldn't be updated, but that's no-longer been true for a while now). |
I'm guessing this is intended for @kglotfelty? |
Oops - sorry @kjg |
I think the clip part is kinda important. I get worried about the grids between events and exposure maps not matching up (since I think one starts at pixel center and the other at pixel edge -- going from memory on this). I just don't know the effect. |
For the Because of this I hope the different tools are using the same scheme! |
I was concerned about things like |
Was this with this PR? I'd need to check reproject_obs to see if it
manually changes things, since I think a manual reproject_events used the
actual limits, rather than "nice" ones.
…On Mon, Nov 30, 2020 at 3:29 PM Ken Glotfelty ***@***.***> wrote:
I was concerned about things like reproject_obs too , eg if you just
dmcopy or even just load event file in ds9. But it looks like
reproject_obs is also setting the range to nice half pixel boundaries.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABW27TWNLMCNXPHL7A7HB3SSP6CLANCNFSM4TKSBUPQ>
.
|
Yes, with this pr, but it’d be great to double check and make sure I didn’t foul it up. |
So, I think I'm probably not going to go with this at the moment. It does improve the code base, but only slightly, and I haven't done enough analysis to really know what the downstream consequences are. |
Remove the update_column_range script and code to use it when reprojecting and merging event files. The functionality has not been needed since CIAO 4.6 (if not earlier).
One minor difference is that
update_column_range
could clip the TLMIN/MAX field to a .5 value, whereas we now just get the actual limit.The runtool module has been updated to remove
update_column_range
and it has also picked up some other recent changes, both to the contrib code (eg #396) and CIAO