aforren1 / toon

TOOls for experiments in psychophysics and Neuroscience
MIT License
0 stars 0 forks source link

Timestamp as second-class citizen #67

Closed aforren1 closed 5 years ago

aforren1 commented 5 years ago

Currently, timestamps and data are stored equally.


obs = Pos(time=0, data=(0,1))
obs.time # 0
obs.data # (0, 1)

But it may feel a little more natural to have access like:

obs # (0, 1)
obs.time # 0

i.e. the data takes the forefront.

aforren1 commented 5 years ago

Closed by 8c8c813b50ac0311f9f0b48d7cd8bd3f5e934065