JohannesBuchner / UltraNest

Fit and compare complex models reliably and rapidly. Advanced nested sampling.
https://johannesbuchner.github.io/UltraNest/
Other
142 stars 30 forks source link

store dimensionality in points file #100

Open JohannesBuchner opened 1 year ago

JohannesBuchner commented 1 year ago

At the moment, the hdf5 file is agnostic to what it is storing, it simply receives rows.

This is nice for separation of concern.

However, the reader then needs to know the dimensionality of the untransformed points and the transformed points. One can guess (if no added parameters, it is (ncol - 3) / 2), but it is ambiguous whether parameters were added.

To balance these two, it might be good to add to the header

Then read_file can make the dimensionality argument optional.

JohannesBuchner commented 10 months ago

This could probably be addressed together with https://github.com/JohannesBuchner/UltraNest/issues/99