issue with enrico_plot_lc

27 views
Skip to first unread message

Manuel Castro Avila

unread,
Feb 21, 2017, 1:01:56 PM2/21/17
to enrico
Hi,

After enrico_lc has finished, I run enrico_plot_lc, but I get this error:

[LightCurve]: Reading files produced by enrico
Traceback (most recent call last):
  File "/home/castro/PROGRAMS/enrico/bin/enrico_plot_lc", line 30, in <module>
    lc.PlotLC()
  File "/home/castro/PROGRAMS/enrico/enrico/lightcurve.py", line 208, in PlotLC
    self._PlotLC()
  File "/home/castro/PROGRAMS/enrico/enrico/lightcurve.py", line 313, in _PlotLC
    fittedFunc = self.CheckNpred(Npred,FluxForNpred,FluxErrForNpred,Npred_detected_indices)#check the errors calculation
  File "/home/castro/PROGRAMS/enrico/enrico/lightcurve.py", line 418, in CheckNpred
    _,TgrNpred = plotting.PlotNpred(Npred[detected_indices],Flux[detected_indices],FluxErr[detected_indices])
  File "/home/castro/PROGRAMS/enrico/enrico/plotting.py", line 277, in PlotNpred
    xmin = min(NdN) * 0.8
ValueError: min() arg is an empty sequence

Any idea?

Best regards,

Manuel

David Sanchez

unread,
Apr 26, 2017, 1:05:11 PM4/26/17
to enrico
Hi
this has been solved
thanks 
david
Reply all
Reply to author
Forward
0 new messages