-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while detrending the 1 light curve without MPI #12
Comments
Hi Somayeh,
Sorry you had this problem. Can you post which file you used, and an example of code where it breaks?
All the best,
Ben
…________________________________
From: Somayeh Khakpash ***@***.***>
Sent: Friday, 6 August 2021 8:57 AM
To: OxES/k2sc ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [OxES/k2sc] error while detrending the 1 light curve without MPI (#12)
Hi,
Is this issue resolved. I have just tried the package and got the exact same message.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#12 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABN6YFM6UIB54KZOQA65Z5DT3MJMZANCNFSM4DCF6S6A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
Hi Benjamin, I got a fits file of a K2 light curve from mast. The K2 ID is 201166680 and it's campaign 10(2). k2sc ./ktwo201166680.fits --splits=[2772,2800] INFO Master: Detrending 1 light curves without MPI During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Can you post the full error, and the full light curve file name? |
Try with the latest version? |
Dear Sir/Mam,
I was using your package for Detrending 1 light curve of K2 campaign 10. but i am continuously getting this error.please help me
Thanks in advance!!!!!!!!!
Regards,
Rishi
THE ERROR IS
INFO Master: Detrending 1 light curves without MPI
INFO Master:
INFO Master: Saving the results to .
INFO Master:
INFO Master: Differential evolution parameters
INFO Master: Population size: 100
INFO Master: Number of iterations: 150
INFO Master: Maximum DE time: 300.00 seconds
INFO Master:
ERROR Worker 0 <229004835>: The campaign not known and no splits given.
Traceback (most recent call last):
File "/usr/local/bin/k2sc", line 417, in
detrend(dataset)
File "/usr/local/bin/k2sc", line 140, in detrend
detrender = Detrender(flux, inputs, mask = mask, splits = splits,
UnboundLocalError: local variable 'splits' referenced before assignment
The text was updated successfully, but these errors were encountered: