When conf.export.pandas_df is set to True and also deblend_nthresh is supplied the returned DataFrame looks like so:
This is in contrast to the case without deblend_nthresh, where the columns have names as defined here:
I think to align this we should return similar names when a DataFrame is created here:
|
return pd.DataFrame(serialized_results) |
For now I work around this in TraP by setting the column names to conf.export.source_params. So since I now work around this there is no rush to resolve this, but it would be nice to align this eventually.
When
conf.export.pandas_dfis set to True and also deblend_nthresh is supplied the returned DataFrame looks like so:This is in contrast to the case without deblend_nthresh, where the columns have names as defined here:
pyse/sourcefinder/utility/sourceparams.py
Line 263 in c27418e
I think to align this we should return similar names when a DataFrame is created here:
pyse/sourcefinder/image.py
Line 1547 in c27418e
For now I work around this in TraP by setting the column names to
conf.export.source_params. So since I now work around this there is no rush to resolve this, but it would be nice to align this eventually.