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
Example Change, Travis Change, Doc Change #2338
Conversation
Which example @nabobalis ? |
@prateekiiest I merged the masking hot pixels and finding bright pixel into one |
Figure 1 was the previous case before merged? |
Pretty much. The masking example did not actually mask anything. I forgot to fix it a while back. Now it masks but its not pretty code. |
ok, but its working |
It is now. I have the output above. |
x, y = np.meshgrid(*[np.arange(v.value) for v in aia.dimensions]) * u.pixel | ||
|
||
############################################################################### | ||
# Now we can convert this to helioprojective coordinates and create a new |
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.
this text now seems out of sync with the rest of the example.
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 thought i changed that. Seems not!
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.
well thats still correct to what i do in the code no?
@nabobalis what's the motivation for merging those two examples? |
@Cadair One example was a subset of the other, so I thought might as well get rid of the subset example. |
Hello @nabobalis! Thanks for updating the PR.
Comment last updated on November 09, 2017 at 22:16 Hours UTC |
Since we have an issue with upstream astropy and changing GZIP data values, I added them as tests for GOES. |
CHANGELOG.rst
Outdated
@@ -9,6 +9,13 @@ Bug Fixes | |||
- Fix docstring formatting for net.vso.attrs [#2309]] | |||
- Fix coloring of ticks under matplotlib 2.0 default style [#2320] | |||
- Always index arrays with tuples in `ImageAnimator` [#2320] | |||
- Misc Doc fixes [#2317] [#2289] | |||
- Misc Readme Changes [#2281] [#2283] |
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.
This is not a useful changelog entry!
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.
YES THEY ARE
@@ -1,32 +0,0 @@ | |||
""" | |||
============================ |
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 think I am 👎 on removing this example. I know that it's basically the same as the other one, but it's a super simple reference example on over plotting coordinates.
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.
FINE
aia = sunpy.map.Map(AIA_171_IMAGE) | ||
|
||
pixel_pos = np.argwhere(aia.data == aia.data.max())*u.pixel | ||
hpc_max = aia.pixel_to_data(pixel_pos[:, 1], pixel_pos[:, 0]) |
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.
pixel_to_world
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.
FINE
I have no idea how to label this without adding everything.