New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storing trial data #152
Comments
The categorial description of trials will generally correspond to a controlled differentiation in stimulation, stimulus, behavior, etc. These categorical differences are often the key to the novelty of the experiment, so trying to anticipate and define a set of categorical variables that will work broadly is IMO going to be impossible. I would prefer a framework where one can easily define new features and attach sufficient meta-data to understand what they mean. Also, we should not necessarily limit ourselves to categorical variables. Sometimes stimuli are from a continuous distribution, e.g. the Newsome dot experiment, and sometimes they are better represented by integers. Here's an idea of how we might accomplish this:
I wouldn't be opposed to labeling response or stimulus in the |
Similar to BIDS section 8.5 |
I don't mean the specific variables--I agree, that's impossible. I mean the dtypes of these variables. I'm thinking of having an abstract base type, and then a handful of instantiable subtypes. Something like this: AbstractTrialFeature
The first dimension of these datasets would always be trial, so possible dimensions would be (None,) for scalar data or (None, None) for vector data. Then TrialTable is a group that contains 1 or more AbstractTrialFeatures. Users don't need to extend TrialTable. They would only need to extend AbstractTrialFeature if they wanted to add another dtype.
This would be a requirement for programability, not for human interpretation |
ok all that looks good to me |
Maybe define state-machine type?
The text was updated successfully, but these errors were encountered: