We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All engagement_state values are 'engaged' regardless of values on engaged column in extended_stimulus_presentations and extended_trials tables.
engagement_state
'engaged'
engaged
extended_stimulus_presentations
extended_trials
Checked by
dataset = cache.get_behavior_ophys_experiment(ophys_experiment_id) extended_stimulus = loading.get_extended_stimulus_presentations_table(dataset.stimulus_presentations, dataset.licks, dataset.rewards, dataset.running_speed) extended_stimulus['reward_rate','engaged','engagement_state'].head(50)
A simple fix might work from def get_extended_stimulus_presentations_table in loading.py
def get_extended_stimulus_presentations_table
loading.py
where
stimulus_presentations['engagement_state'] = ['engaged' if True else 'disengaged' for engaged in stimulus_presentations['engaged'].values]
should have been
stimulus_presentations['engagement_state'] = ['engaged' if engaged==True else 'disengaged' for engaged in stimulus_presentations['engaged'].values]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
All
engagement_state
values are'engaged'
regardless of values onengaged
column inextended_stimulus_presentations
andextended_trials
tables.Checked by
A simple fix might work from
def get_extended_stimulus_presentations_table
inloading.py
where
should have been
The text was updated successfully, but these errors were encountered: