lfp_artifact.py
LFPArtifactDetectionParameters
¶
Bases: SpyglassMixin
, Manual
Source code in src/spyglass/lfp/v1/lfp_artifact.py
insert_default()
¶
Insert the default artifact parameters.
Source code in src/spyglass/lfp/v1/lfp_artifact.py
LFPArtifactDetection
¶
Bases: SpyglassMixin
, Computed
Source code in src/spyglass/lfp/v1/lfp_artifact.py
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
|
make(key)
¶
Populate the LFPArtifactDetection table with artifact times.
- Fetch parameters and LFP data from LFPArtifactDetectionParameters and LFPV1, respectively.
- Optionally reference the LFP data.
- Pass data to chosen artifact detection algorithm.
- Insert into LFPArtifactRemovedIntervalList, IntervalList, and LFPArtifactDetection.
Source code in src/spyglass/lfp/v1/lfp_artifact.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
|