Comments (5)
I've included a new function, data_from_fits
which will extract the necessary values from the cube without having to call the imgcube
function. This should mean that you can still pip install.
I've also removed plt.style.use('paper')
from the Notebook as that was just used to set the styles for making the plots. This should now default to whatever default the user has.
from bettermoments.
I should revisit the fits ingestion in both cases, as I only got a correct comparison if i shifted the pixels by 1 comparing yours and mine. It's an easy thing to miss, using 0 based or 1 based... I'd like to think mine is correct. If you feel your is correct too, we should revisit. I'll redo mine with your new function and open a new issue if need be.
from bettermoments.
from bettermoments.
Oh, i meant positional pixels, not spectrally. As for the fits definition: the value is defined at the center of the pixel, where the first pixel is 1. But let me redo the comparison with your new function and it should be more clear.
from bettermoments.
Ah yeah, that makes sense. I didn't really do this very thoroughly as typically people may want to handle their coordinates in different ways, for example using Astropy's WCS package.
from bettermoments.
Related Issues (17)
- Push figures to repo HOT 2
- No bash aliasing with Python2.7 HOT 1
- Tutorial notebooks need updating
- Default clip HOT 1
- fits header key 'date-obs' not preserved HOT 2
- command line option 'outname' is ignored HOT 1
- Error without outname option in command line HOT 1
- AssertionError: Unexpected shape of `moments`. HOT 3
- 13 too many words... HOT 2
- Return model cubes
- Coordinate Definition Changes HOT 1
- Channel width in the zeroth moment maps HOT 1
- clip does not use the input rms HOT 1
- Submit! HOT 2
- Consider and probably implement the Courteau method for flux conservation HOT 1
- Calculate optimal velocity resolution HOT 1
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 bettermoments.