LernerLab / GuPPy

Guided Photometry Analysis in Python, a free and open-source FP analysis tool.
GNU General Public License v3.0
64 stars 11 forks source link

Error with step4 "Extract timestamps and its correction" after "Remove Artifacts" #17

Closed Junes94 closed 2 years ago

Junes94 commented 2 years ago

Hi, I'm struggling removing artifacts now. Actually all other things go well without removing artifacts. However, when I started removing artifacts, there was an error. I followed your instructions. Firstly, I executed step1~3. After selecting chunks to analyze, I went back to input parameters, and clicked 'save fo files...' after changing 'removeArtifacts' True. Then, an error showed up when I clicked "Extract timestamps and its correction".

image

It would be pleasure if there's any help.

Best, Junesu

Junes94 commented 2 years ago

After I add a line below into the 'Guppy-main\Guppy\preprocess.py' file, there's no more error and I successfully remove the artifacts.

line46: global popt

Thank you. Junesu