AllenSDK
AllenSDK copied to clipboard
event trace in boc
Hi! Thank you for your answer. I can extract df/f by use get_dff_traces : ts, dff = data_set.get_dff_traces() But I cann't use data_set.get.events() or data_set.get_all_events() (in Allen SDK Documentation page 210)(Feb2022 version) because it has this error: AttributeError: 'BrainObservatoryNwbDataSet' object has no attribute 'get_all_events'
what should I do to extract event traces for this data_set in boc?
Thank you!
For more information: boc = BrainObservatoryCache(manifest_file='boc/manifest.json') data_set = boc.get_ophys_experiment_data(501498760)
It doesn't appear that BrainObservatoryNwbDataSet
exposes event detection. Can you please link to the documentation where you are reading that it has a method get_all_events
?
https://allensdk.readthedocs.io/_/downloads/en/stable/pdf/
get_all_events() (allensdk.brain_observatory.sync_dataset.Dataset method), 248
get_all_events(self ) Returns all counter values and their cooresponding IO state. .................................................................................................................................................................................... but In my thesis ,I need to use "event trace" in this experiment (501498760) .Do you know how I can extract event traces for this experiment?
Thank you
@mabuice , @alih100011 is trying to extract events for an experiment in the visual coding ophys dataset, but it doesn't look like we expose event detection for this dataset. What do you recommend @alih100011 does?
Hi!
Is it in 2023 "event_trace"Not added to the boc dataset ?
And how can I get it directly from df/f myself?
Thank you!
The events are accessed from the boc and not from the dataset:
events = boc.get_ophys_experiment_events(ophys_experiment_id=session_id)