Skip to content

deconv.py sigma as Nx1 vector #3

Description

@britairving

I am getting errors when I pass sigma through as an Nx1 vector the same size as u_slow.

The issue "ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()." is flagged at line 890 in deconv.py. I've tried debugging this by replacing with try:
if sigma == 'auto':
print('yes')
else:
print('no')
except:
if isinstance(sigma, float):
sigma = sigma*n.ones(len(u_slow))
elif len(sigma) == len(u_slow):
sigma = sigma
else:
print('no')
but that still turns up errors... I'm not having any luck fixing it so thought I'd try to submit the issue :) thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions