allensdk.brain_observatory.natural_movie module¶
- class allensdk.brain_observatory.natural_movie.NaturalMovie(data_set, movie_name, **kwargs)[source]¶
Bases:
StimulusAnalysis
Perform tuning analysis specific to natural movie stimulus.
- Parameters:
- data_set: BrainObservatoryNwbDataSet object
- movie_name: string
- one of [ stimulus_info.NATURAL_MOVIE_ONE,
stimulus_info.NATURAL_MOVIE_TWO, stimulus_info.NATURAL_MOVIE_THREE ]
- get_peak()[source]¶
Computes properties of the peak response condition for each cell.
- Returns:
- Pandas data frame with the below fields. A suffix of “nm1”, “nm2” or
- “nm3” is appended to the field name depending
- on which of three movie clips was presented.
peak_nm1 (frame with peak response)
response_variability_nm1
- property sweep_response¶
- property sweeplength¶