Comments (4)
Did you specify a regular expression for the extraction of the parameters via --from-filename?
You can also create the file manually. It just needs to be a CSV file with Filename column and one column per parameter in the grid, like in the example:
Filename,Teff,logg,FeH,Alpha
PHOENIX-ACES-AGSS-COND-2011/Z+0.5.Alpha=+0.50/lte02300-0.00+0.5.Alpha=+0.50.PHOENIX-ACES-AGSS-COND-2011-HiRes.fits,2300.0,0.0,0.5,0.5
PHOENIX-ACES-AGSS-COND-2011/Z+0.5.Alpha=+0.50/lte02300-0.50+0.5.Alpha=+0.50.PHOENIX-ACES-AGSS-COND-2011-HiRes.fits,2300.0,0.5,0.5,0.5
from spexxy.
Ok, it seems I misunderstood the functionality. Doing what you suggested and creating a CSV file manually got me past that initial problem. I think I understand how it works now, I’ve been testing different approaches for different files- Are there any specific guidelines on the format of the FITS files? e.g. what metadata should there be in headers, etc.? Apologies, I know this isn't particularly relevant to the original issue.
Thanks for your help.
from spexxy.
No, sorry, no guidelines at the moment. But if there are CRVAL1/CDELT1 keywords in the header, it should be fine. You can simply try to plot a spectrum via "spexxytools plot" to see whether spexxy can read it.
from spexxy.
Ah ok, that's good to know. I noticed that not having CRVAL1 was a problem.
Cheers, will close now.
from spexxy.
Related Issues (7)
- pkg_resources.ResolutionError not found HOT 1
- Issue when convolving with empirical LSF HOT 1
- Resampling spectra with NANs HOT 1
- Spectrum.index_of_wave() returns None when exception should be raised
- Spectrum.redshift() returns wrong result for log10-sampled spectra HOT 1
- Spectrum.extract_index() drops valid array
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 spexxy.