openworm / behavioral_syntax

behavioral syntax analysis based on the paper of Andre Brown
Other
5 stars 1 forks source link

hacks for loading data: #6

Closed ghost closed 8 years ago

ghost commented 8 years ago

affected code: 1) https://github.com/AidanRocke/behavioral_syntax/blob/master/utilities/posture_sequence.py 2) https://github.com/AidanRocke/behavioral_syntax/blob/master/kinematics/

I should be able to use this:

import movement_validation as mv file_path = "example_feature_file.mat" worm_features = mv.WormFeatures.from_disk(file_path)

ghost commented 8 years ago

This doesn't work properly so I'll have to find a different solution.

ghost commented 8 years ago

Ok. This is my solution: https://github.com/AidanRocke/behavioral_syntax/blob/master/utilities/loading_data.py