When the class pdf1d is run for radius bins, the bins are set to log spaced bins
if logspacing:
self.min_val = math.log10(self.min_val)
self.max_val = math.log10(self.max_val)
tgridvals = np.log10(tgridvals)
However the unique values of tgridvals , uniqvals are defined before this point, but are not transformed into log space alongside it. This results in the value error "Not all the physics grid model points mapped to 1d ppdf bins - should not happen". I don't know why the example metal_small does not run into this issue.
When the class
pdf1dis run for radius bins, the bins are set to log spaced binsHowever the unique values of
tgridvals,uniqvalsare defined before this point, but are not transformed into log space alongside it. This results in the value error"Not all the physics grid model points mapped to 1d ppdf bins - should not happen". I don't know why the example metal_small does not run into this issue.