Skip to content

Commit

Permalink
Jitter implementation -- ispras/lingvodoc-react#1116 (#1504)
Browse files Browse the repository at this point in the history
* init

* jitter.py

* pitch_to_point

* find_maximum_correlation

* sound_find_extremum

* sound_find_extremum

* fix

* CubicSpline

* fix

* refactoring

* refactoring

* joined pitch and jitter

* fix

* next step

* point['t']

* fixes and debug

* fixed minimization

* next fixes

* next fixes

* next fixes

* cleanup

* xlsx

* xlsx

* also xlsx

* fixes

* next fixes

* minor
  • Loading branch information
vmonakhov authored Apr 22, 2024
1 parent ae80aa4 commit 0e1eeb4
Show file tree
Hide file tree
Showing 5 changed files with 487 additions and 63 deletions.
2 changes: 1 addition & 1 deletion lingvodoc/schema/gql_cognate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ def f():

for tier_result in tier_result_list:

for (interval_str, interval_r_length, p_mean, i_list, f_list,
for (interval_str, interval_r_length, j_local, p_mean, i_list, f_list,
sign_longest, sign_highest, source_index) in tier_result.interval_data_list:

interval_str_list = interval_str.split()
Expand Down
2 changes: 1 addition & 1 deletion lingvodoc/schema/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -5181,7 +5181,7 @@ def perform_phonological_statistical_distance(

# ...for all intervals.

for (interval_str, interval_r_length, p_mean, i_list, f_list,
for (interval_str, interval_r_length, j_local, p_mean, i_list, f_list,
sign_longest, sign_highest, source_index) in tier_result.interval_data_list:

formant_list.append(tuple(map(float, f_list[:2])))
Expand Down
Loading

0 comments on commit 0e1eeb4

Please sign in to comment.