Skip to content

Commit 2ac7359

Browse files
authored
Documentation only
1 parent cc64db0 commit 2ac7359

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

datamapper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
2) DataRenderer is able to render a DataObjectCollection into a musical (or other)
1313
representation
1414
3) A map defines the mapping from DataObjectCollection to DataRenderer. It
15-
maps a key in the data ('temperature') to an attribute of the musical
16-
representation ('pitch'), with an understanding of the relative domains and
15+
maps a key in the data eg ('temperature') to an attribute of the musical
16+
representation (eg 'pitch'), with an understanding of the relative domains and
1717
ranges of each.
1818
'''
1919
#TODO Think about realtime capabilities
@@ -271,7 +271,7 @@ def __getitem__(self, key):
271271

272272
class TimeSeries(list):
273273
''' TimeSeries is a list-like class which also contains metadata about the list, namely
274-
sample_rate (how many items represent one second) and ts_range (the range of values or
274+
sample_rate (how many data points represent one second) and ts_range (the range of values or
275275
possible values contained in the list. This can be set to indicate the expected range
276276
(say, (-1,1)), but if TimeSeries is asked for its ts_range and it hasn't been set, it's
277277
computed from the actual values).

0 commit comments

Comments
 (0)