-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #193 from Forced-Alignment-and-Vowel-Extraction/co…
…ncat-methods Concat, Append and Add methods
- Loading branch information
Showing
23 changed files
with
2,238 additions
and
275 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# TierGroup { #aligned_textgrid.sequences.tiers.TierGroup } | ||
|
||
`sequences.tiers.TierGroup(self, tiers=[SequenceTier()])` | ||
|
||
Tier Grouping | ||
|
||
## Parameters | ||
|
||
| Name | Type | Description | Default | | ||
|---------|----------------------|---------------------------------------------------------------------------------------------|--------------------| | ||
| `tiers` | list\[SequenceTier\] | A list of sequence tiers that are meant to be in hierarchical relationships with eachother | `[SequenceTier()]` | | ||
|
||
## Attributes | ||
|
||
| Name | Type | Description | | ||
|---------------|----------------------------------|------------------------------------------------| | ||
| tier_list | list\[SequenceTier\] | List of sequence tiers that have been related. | | ||
| entry_classes | list\[Type\[SequenceInterval\]\] | A list of the entry classes for each tier. | | ||
| tier_names | list\[str\] | A list of tier names | | ||
| xmax | float | Maximum time | | ||
| xmin | float | Minimum time | | ||
| \[\] | | Indexable. Returns a SequenceTier | | ||
|
||
## Methods | ||
|
||
| Name | Description | | ||
| --- | --- | | ||
| [get_intervals_at_time](#aligned_textgrid.sequences.tiers.TierGroup.get_intervals_at_time) | Get intervals at time | | ||
| [show_structure](#aligned_textgrid.sequences.tiers.TierGroup.show_structure) | Show the hierarchical structure | | ||
|
||
### get_intervals_at_time { #aligned_textgrid.sequences.tiers.TierGroup.get_intervals_at_time } | ||
|
||
`sequences.tiers.TierGroup.get_intervals_at_time(time)` | ||
|
||
Get intervals at time | ||
|
||
Returns a list of intervals at `time` for each tier. | ||
|
||
#### Parameters | ||
|
||
| Name | Type | Description | Default | | ||
|--------|--------|-------------------|------------| | ||
| `time` | float | Time in intervals | _required_ | | ||
|
||
#### Returns | ||
|
||
| Type | Description | | ||
|-------------|--------------------------------------------------------------| | ||
| list\[int\] | A list of interval indices, one for each tier in `tier_list` | | ||
|
||
### show_structure { #aligned_textgrid.sequences.tiers.TierGroup.show_structure } | ||
|
||
`sequences.tiers.TierGroup.show_structure()` | ||
|
||
Show the hierarchical structure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.