cschreib / fastpp

C++ version of the SED fitting code FAST (Kriek et al. 2009); it's faster, uses less memory, and has more features.
MIT License
27 stars 4 forks source link

Higher Sig Figs in Output file #19

Closed Nikhil0504 closed 1 year ago

Nikhil0504 commented 1 year ago

Hey, How do you get higher significant figures for your output columns? Can you add a feature where we can define that?

cschreib commented 1 year ago

Hi there! This was not currently configurable, but fairly easy to add. The latest commit on the master branch has the OUTPUT_PRECISION option; default is zero (which means "same as before"), otherwise pick the precision you want (e.g., 1e-6). See the docs for more info. Please let me know if this does what you want, and I can then close this issue. Cheers.

Edit: Actually that commit was still limited to a max precision of 1e-6; this is now fixed in https://github.com/cschreib/fastpp/commit/0c68bbbfb983f012375cb6555c5b545df87ad20a.

Nikhil0504 commented 1 year ago

Hey! Thanks for the update.. this is exactly what I wanted.

I am closing this issue.