Skip to content
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

calcium refactoring #54

Merged
merged 6 commits into from
Dec 1, 2017
Merged

calcium refactoring #54

merged 6 commits into from
Dec 1, 2017

Conversation

neuromusic
Copy link
Contributor

@neuromusic neuromusic commented Nov 22, 2017

this PR addresses #48

todo:

  • docstrings
  • example deconvolving synthetic data (using OASIS gen_data function)

@neuromusic neuromusic changed the title calcium refactoring [WIP] calcium refactoring Nov 22, 2017
@neuromusic
Copy link
Contributor Author

done. ready for review.

closes #29
closes #46
closes #48

@neuromusic neuromusic changed the title [WIP] calcium refactoring calcium refactoring Nov 23, 2017
def robust_std(self, x):
'''
Robust estimate of std
def _robust_std(self, x):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why making this more protected? Can it be moved into a utility module, so that other parts of the code base can use it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my first motivation was to hide the class from the documentation. it's not intended AFAIK to be used elsewhere.

agreed it should probably get pulled out into a separate function to improve modularity & testing, even if not into a separate module yet.

Copy link
Contributor

@nicain nicain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Keep an eye out for functions that might be useful in other places; it we start seeing many of them, I suggest refactoring to a utilities module.

@nicain nicain merged commit d55969f into master Dec 1, 2017
@neuromusic
Copy link
Contributor Author

thanks @nicain !!

@neuromusic neuromusic deleted the feature/refactor_calcium branch February 8, 2018 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants