Skip to content

Conversation

@keflavich
Copy link

As in the title: allow for FITS HIPS coadding.

Problem: FITS HIPS doesn't display well right now, could use help:

  • The display stretch isn't configurable and the default is saturated (at least in one specific case I've tried)
  • The background (blank area) on the sky is black instead of being empty/transparent
image image

header = fits.getheader(filepath)
image1 = fits.getdata(filepath)
image2 = fits.getdata(target_filepath)
result = image1 + image2
Copy link
Owner

Choose a reason for hiding this comment

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

The problem with this is that as you get to the lower res tiles you will keep summing the fluxes so the effective flux will be much higher in the low res tiles. I think you want to take an average of the two here.

Copy link
Author

Choose a reason for hiding this comment

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

Aha, makes sense!

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