-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add PointProcess class #43
base: master
Are you sure you want to change the base?
Conversation
Ah, oof :-) |
363156a
to
a7b8a99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great; I hadn't realized it was such a nicely contained set of changes!
What I've done so far in the two extra commits (go ahead and check) is mainly making sure that the full diff doesn't show difference that are just indentation or style changes. Now that there's a contributor, I should definitely get a .clang-format
file, but adding and applying that is probably best left outside of this PR (to ensure we focus on the important parts and content here!).
Also, a few things to discuss that I've noticed. Apart from that, I'll dive into the details soon, but something tells me I won't have a lot of work to do :-)
e37d662
to
ed911bf
Compare
The last commit should truly be the last commit to this PR from me. Added |
af4b1f6
to
19bde38
Compare
2b2f650
to
28ae186
Compare
36b9043
to
b6595d3
Compare
f121d88
to
359b8ba
Compare
…o runnable pytest test
- shimmer functions - alternate constructors - create_poisson_process() - get_time_points() - add_points() Moved lines around for readability Removed _t & _nt Added method docstrings
get_count_and_fraction_of_voice_breaks() returns 4-element tuple
Added PointProcess.__len__(), .__getitem__(), & __iter__() Updated test
Fixed PointProcess empty constructor
pytest: dropped 'eee.wav', using global fixtures
to_text_grid_vuv(), to_sound_phonation(), to_sound_pulse_train(), to_sound_hum(), - Added class docstring and docstrings of new methods
Added PeakInterpolation enum Updated pytest
- PointProcess.get_shimmer_local_db
Corrected errors in Pitch docstrings
… that py::array_t is accepted in PointProcess constructor and PointProcess.add_points, and some minor fixes to Pitch's PointProcess methods
359b8ba
to
dff9aa9
Compare
for more information, see https://pre-commit.ci
Here is the renamed PR for PointProcess class.
I renamed my
mydev
branch toadd-pointprocess-class
and it apparently closed the original PR automatically.CrossRef: #41,
TODOs
pytest
to_PointProcess()
methods to the source classesPointProcess.to_XXX()
methods to convert from PointProcessPointProcess
xtor taking a sequence-like object (which implements__len__()
and__getitem__(int)
PointProcess
a sequence-like class by implementing__len__()
and__getitem__(int)
.