ContextLab / quail

A python toolbox for analyzing and plotting free recall data
http://cdl-quail.readthedocs.io/en/latest/
MIT License
20 stars 10 forks source link

feature request: input/output format #2

Closed jeremymanning closed 7 years ago

jeremymanning commented 7 years ago

i think we should define a data object (e.g. recalls matrix + some additional info). then we can have two types of functions:

we could depend on hypertools for plotting trajectories and seaborn for other stuff

jeremymanning commented 7 years ago

would also be cool to support loading in remote datasets, e.g. from http://memory.psych.upenn.edu/Data_Archive

jeremymanning commented 7 years ago

(someday)

andrewheusser commented 7 years ago

cool idea, sort of like a pandas df. does everything we want to do start with the recall matrix? also, how do we want to handle multiple subjects? does the data object represent a group of subjects, or one?

jeremymanning commented 7 years ago

I was thinking it could be a pandas dataframe set up as follows (a single dataframe can reflect data from 1 or more subjects):

jeremymanning commented 7 years ago

we want the data structure to support (at least) the following scenarios:

andrewheusser commented 7 years ago

sounds great. I think we'll want to set up a class, and then attach attributes (the data, other info) and methods (analysis and plotting functions) to it. Here is a little primer i found on this style of coding in python: https://jeffknupp.com/blog/2014/06/18/improve-your-python-python-classes-and-object-oriented-programming/

andrewheusser commented 7 years ago

closing...open new issue to support remote datasets