Skip to content
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

Losing information after spline subtraction #126

Open
lucabaldini opened this issue Sep 20, 2022 · 0 comments
Open

Losing information after spline subtraction #126

lucabaldini opened this issue Sep 20, 2022 · 0 comments
Assignees

Comments

@lucabaldini
Copy link
Owner

In nsorrentino directory in sandbox (look at fix_spline_operations branch if that isn't in master) there is a code that show how we lose information about axes names and units after operating on different power law distributions

#!python

>>> Reading FITS image from /home/nunzio/ixpe/ixpeobssim/ixpeobssim/config/fits/crab_0p3_10p0_keV.fits...
Filename: /home/nunzio/ixpe/ixpeobssim/ixpeobssim/config/fits/crab_0p3_10p0_keV.fits
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU      26   (1024, 1024)   float32   
WARNING: VerifyWarning: Verification reported errors: [astropy.io.fits.verify]
WARNING: VerifyWarning: Card 'CDELT1' is not FITS standard (invalid value string: '-6.833333464e-05').  Fixed 'CDELT1' card to meet the FITS standard. [astropy.io.fits.verify]
WARNING: VerifyWarning: Note: astropy.io.fits uses zero-based indexing.
 [astropy.io.fits.verify]
WARNING: VerifyWarning: Verification reported errors: [astropy.io.fits.verify]
WARNING: VerifyWarning: Card 'CDELT2' is not FITS standard (invalid value string: '6.833333464e-05').  Fixed 'CDELT2' card to meet the FITS standard. [astropy.io.fits.verify]
Final spectrum x ax. xname = None xunits = None
Final spectrum y ax. yname = pdf yunits = None

Original url: https://bitbucket.org/ixpesw/ixpeobssim/issues/126
Created on 2018-07-10T14:44:01.828787+00:00

@lucabaldini lucabaldini self-assigned this Sep 20, 2022
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

No branches or pull requests

1 participant