pycheops icon indicating copy to clipboard operation
pycheops copied to clipboard

Dataset detrended flux error

Open suman-phy opened this issue 6 months ago • 6 comments

Hi, I'm facing an issue when plotting the detrended flux from lmfit (plot_lmfit, with detrend=True), where it gives an incorrect plot. However, with detrend=False, the plot doesn't have any issues. I found the same error when I used 'cds_data_export' to export the data and plot myself. I've attached the figures without (1st) and with detrending.

Figure_1 Figure_2

I didn't have this issue when I used the same function a few months back. Not sure sure if updating the package or dependencies has affected something here. I'll really appreciate if you can help me with this.

Thank you.

suman-phy avatar Aug 22 '24 00:08 suman-phy