Comments (4)
Met with Adam. Agree this needs further research to make sure the workaround won't break any other functionality in GDT.
from gdt-core.
Just wanted to check whether the suggested workaround that excludes the call to SkyCoord()
is okay with you? If so, I'll create a PR.
Thanks
from gdt-core.
@derekocallaghan Please checkout PR #38 and see if it works for you.
Your proposed fix would work only for EquatorialPlot
, and the problem would still be present for GalacticPlot
and SpacecraftPlot
. The intent is to allow plotting in other frames (currently Galactic and spacecraft), and after you identified the root cause of the issue, I think the fix in PR #38 addresses that for any frame.
from gdt-core.
Thanks @AdamGoldstein-USRA, that was just a quick workaround to get the correct plot here. I've tried the modifed lib.py
and sky.py
and the plot is rendered as expected with the following, so I'll close this issue:
eqplot = EquatorialPlot()
eqplot.add_localization(gbm_healpix, gradient=True)
Fixed by #38
from gdt-core.
Related Issues (20)
- matplotlib AttributeError: 'Colorbar' object has no attribute 'patch' HOT 4
- Pstat does not handle zero counts HOT 1
- healpix convolve does not preserve header information HOT 2
- Request for consistent handling of time values between spacecraft frames and tte objects HOT 3
- Remove unnecessary try/except when writing FITS files
- Attribute `names` incorrectly updates when creating a SuperFunction HOT 1
- Attribute error while using jupyter with a FitsFileContextManager class. HOT 2
- Add Bayesian Blocks binning functions for binned and unbinned data
- "Nan" 'el' Values from 'gdt.core.coords.spacecraft', SpacecraftFrame. HOT 1
- Slow TTE file read behavior HOT 1
- Update gdt-data to eliminate deprecation notice HOT 1
- Matplotlib version issue with get_cmap HOT 1
- Problem with "gdt.core.plot.lightcurve import Lightcurve" HOT 4
- Changes to scipy functions in scipy version 1.14.0 HOT 4
- PhaSimulator() methods to_pha and to_bak not handling valid_channels kwarg properly
- Request for fix for randomness in parallelized simulation of spectra
- Spectral fit plot failure in Matplotlib 3.7 HOT 2
- Asymmetric errors in SpectralFitter return incorrect values when setting parameters as fixed HOT 2
- Add the ability to change the NSIDE of a HealPix object
- Add the ability to generate random Monte Carlo samples from a HealPixLocalization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdt-core.