-
Notifications
You must be signed in to change notification settings - Fork 62
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
Possible API Changes & Refactoring #140
Comments
These are all good suggestions. I think it warrants some conversation in person (lab meeting or otherwise) about what names to choose for things, but otherwise I appreciate the effort to make things make more sense and be more consistent :) |
^ ditto - good call. I'm onboard with most of those.
|
I totally agree that we should have transients at some point, though I could see this working:
^So I'm not sure having transients, or other sims, is a roadblock here. I'm not against aperiodic being called noise, but I think it's a balance if it's worth being more technically correct (in terms of statistical noise), even if that does bring some baggage of using that term. Also, is something like the OU process appropriately described as statistical noise? The more general name might be less likely to have exceptions, especially if we add things. Anyways - yeh: I think an IRL discussion would be useful here. Not sure it's so general as to be a lab meeting thing, but we could have a quick prog group meeting. |
so the takeaway from that discussion was we organize the code in folders as you have them above, but keep the names as descriptive and accurate as possible, right? |
Yeh - the file names will be as in #147 (unless there are suggestions for otherwise). Currently these are set up as non-breaking changes, and all functions are aliased to sim/. For a 1.0 release we will update some function names, and all those will be updated to be as accurately as possible. Some of those names will require case-by-case discussion, as well as some broad overview to try and keep a consistent vocabulary overall. Note: perhaps we can choose & update those names in lockstep with updating the glossary (#144) so that the words we use and the ways in which we are using them gets built into the docs as we go. |
Okay, so everything in here is basically done, and we've moved on from these ideas. These changes are all ready in #150 , and the up to date conversation is happening there, so I'm going to close this now. |
The following is a set of questions / suggestions for some API breaking updates, if we want to do that (presumably, in a 2.0 release or similar) and as well as some possible refactoring ideas. (This is just a dump of some things I noted down randomly, and am dumping here).
Filter:
Sim:
sim_filtered_noise
make it's own filter, instead of using ndsp.filter?Spectral:
Time Frequency:
_get_filter_passtype
feels like it could be moved to filter, as a helper function calledinfer_passtype
?Utils [New]:
Tests:
In terms of action points: this is all pretty easy to do, if it's wanted. There is a quick discussion to be had, in particular, about the naming conventions for sim I think. Most of the rest is very straight-forward, it's just about if we do want some API breaking changes in a new release. Thoughts @voytek @rdgao @srcole
The text was updated successfully, but these errors were encountered: