Comments (7)
Anyone? Developers?
from imexam.
### Environment:
I am working in a virtual environment on my Ubuntu 18.04 LTS system. I manually set theXPA_METHOD
to "local" inside python withos
module, which solved my initial issue withXPA
detection error. Adding theds9
absolute path to the global~/.bashrc
script helpedimexam
detect it. I have DS9 v8.3 installed. I also installedpyds9
usingpip
, in case there needs to be be some help toimexam
later.### Issue:
I am trying to load X-ray cleaned event files (which normally arrive with the.evt
extension instead of.fits
) from the NuSTAR mission. They all adhere to the FITS standards, which is why they can be viewed, manipulated and stored using any FITS file tool (likefv
from Heasoft orTOPCAT
from Bristol). But whenever I try toload_fits()
my cleaned event filefile.evt
(with absolute path or from the working directory where the file is), I run into a string.format() error. Please look at the following for the code from start until the error exit:
>>> import os
>>> os.environ['XPA_METHOD'] = "local"
>>> import imexam
Ginga not installed, use other viewer, or no viewer
>>> viewer = imexam.connect('ds9')
>>> viewer.load_fits('/path/to/my/file.evt')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kishalay/E/threeML-env/lib/python3.9/site-packages/imexam/connect.py", line 393, in load_fits
self.window.load_fits(*args, **kwargs)
File "/home/kishalay/E/threeML-env/lib/python3.9/site-packages/imexam/ds9_viewer.py", line 1179, in load_fits
cstring = ('fits {0:s}[{1:d}]'.format(shortname, extver))
TypeError: unsupported format string passed to NoneType.__format__
I checked the script
ds9_viewer.py
, but could not make sense of why a file extension that adheres to FITS standards and is supplied by HEASARC from NASA is not recognized. Is it currently coded to accept only files with the.fits
extension? If yes, I'd like to locally change that (or add another line that also accepts.evt
FITS files). Kindly provide assistance.
Has the support for this repository been left unattended???
from imexam.
I'm here, but have been away - I will take a look at this soon (hopefully by this weekend and get back with you!)
from imexam.
I'm here, but have been away - I will take a look at this soon (hopefully by this weekend and get back with you!)
That's great!
from imexam.
I'm here, but have been away - I will take a look at this soon (hopefully by this weekend and get back with you!)
Hello. Did you get the time then last weekend?
from imexam.
@sosey I suppose I should just close this issue, right? It's been too long.
from imexam.
Incredibly poor support from the developers. No interest. Very disappointing indeed!
from imexam.
Related Issues (20)
- Move tests to github actions HOT 1
- radial profile ("r") and aperture photometry ("a") failing, but "j" and "k" work HOT 2
- Update the matplotlib colormaps
- How do I delete regions? HOT 1
- AttributeError: 'Circle' object has no property 'ax' HOT 1
- Precision of magnitude and zeropoint on screen and figure
- load_fits() XPA error, and subsequent imexam() error HOT 1
- Arrow keys crash imexam()
- Using imexamine with MEF file and different extensions
- ERROR when "connecting" to viewer
- Ginga detection incorrect when importing HOT 1
- How to use 99.5% Scaling or set scale limits in Ginga
- imexam fails with astropy 5.2
- Python 3.11 incompatibility
- problem with ginga import HOT 1
- Deprecation error with matplotlib.pyplot.gca(projection='3d') HOT 1
- Contour plots do not have equal pixel spacing
- XpaException: Unknown XPA Error : XPAGet returned 0!
- imexam v0.9.1 fails to import with astropy v6 HOT 4
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 imexam.