The fitter objects inside Data (Data.E_fitter, Data.S_fitter, etc) are now simple attributes and are not added to the class dictionary anymore. In this way when copying Data, selecting bursts or creating a new Data variable using Data(**old_data), the fitter object are not passed through.
Also I renamed the keyword argument nofret to computefret. In general negations in boolean variable names are not a good idea (think nofret=False) because they force users to mentally do 2 negations.
This addresses #34.
The fitter objects inside
Data
(Data.E_fitter
,Data.S_fitter
, etc) are now simple attributes and are not added to the class dictionary anymore. In this way when copyingData
, selecting bursts or creating a newData
variable usingData(**old_data)
, the fitter object are not passed through.Also I renamed the keyword argument
nofret
tocomputefret
. In general negations in boolean variable names are not a good idea (thinknofret=False
) because they force users to mentally do 2 negations.