gcalderone / qsfit

Quasar Spectral Fitting
http://qsfit.inaf.it/
GNU General Public License v3.0
14 stars 6 forks source link

Reading JSON files #8

Open lnicastro opened 5 years ago

lnicastro commented 5 years ago

JSON formatted files should be accepted, and actually they should also be readable from socket/pipe stream. Accepted set of key-value should match the accepted (and documented) FITS file keywords. The JSON file can deliver all the parameters, required and optional, to perform the fit, like z and ebv. In case only 3 arrays are present, they are assumed to be the same as for ASCII files.

JSON_PARSE ref.: https://www.harrisgeospatial.com/docs/json_parse.html