Skip to content

Allow `HeterodynedData` Bayesian Blocks to be recalculated even for data read from a file

Currently, if you read a HeterodynedData object directly from a file, any parameters defining the Bayesian Blocks segmentation of the data will be ignored. I think the reason for this, back when this was put in, was that the Bayesian Blocks calculation took a long time (which was fixed in !94 (merged)). However, this does mean that now any Bayesian Block parameters passed as data-kwargs for use during parameter estimation get ignored in these cases. This needs to be fixed.

As a side note, the example parameter estimation (and knope) configuration files, do not mention the ability to pass in data-kwargs, so these need to be fixed to.