Giter VIP home page Giter VIP logo

Comments (4)

thusser avatar thusser commented on September 1, 2024

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.

jcarrick1 avatar jcarrick1 commented on September 1, 2024

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.

thusser avatar thusser commented on September 1, 2024

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.

jcarrick1 avatar jcarrick1 commented on September 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.