LC-Plot-Problem

29 views
Skip to first unread message

Mohamed Hashad

unread,
Apr 28, 2016, 2:07:05 PM4/28/16
to enrico

Hi,

The command " enrico_plot_lc myanalysis.conf " gives this error, also the configure file attached (I just exchange conf. extention to txt for attaching only)..

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

Thanks

myanalysis.txt

Sean Mooney

unread,
Jun 14, 2016, 9:38:11 AM6/14/16
to enrico
Hi,

I have the same issue. I was wondering if you managed to resolve it?
Reply all
Reply to author
Forward
0 new messages