-
Notifications
You must be signed in to change notification settings - Fork 5
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
docstring for computeOnsOffs.m is totally wrong #112
Comments
no, because x is assumed to be binary (logical) |
missing threshold argument in the function body: veclib.computeOnsOffs([-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0]) will return []; veclib.computeOnsOffs([-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0], -5) gives the "Too many input arguments." error: |
yes, because this is a monotonic sequence -- there are no ons or offs
yes, because it only takes one argument -- a (logical) vector. what you want to do is:
|
OK, a simple update to the help doc should avoid using a second argument |
ah i see the docstring is totally wrong. my bad! |
@qliu-Inscopix FYI you will find the docstrings generally unreliable -- ping me if you find something missing/out of sync |
Will do!
…On Mon, Aug 29, 2022 at 3:56 PM Srinivas Gorur-Shandilya < ***@***.***> wrote:
@qliu-Inscopix <https://github.com/qliu-Inscopix> FYI you will find the
docstrings generally unreliable -- ping me if you find something
missing/out of sync
—
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATBLRFH444P57I45QYH2X4TV3UIV5ANCNFSM542FSKQA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Shouldn't x(x>0) = 1 be "x(x>0.5) = 1"?
The text was updated successfully, but these errors were encountered: