AllenInstitute / npc_sessions

Tools for accessing and packaging data from behavior and epyhys sessions from the Mindscope Neuropixels team, in the cloud.
1 stars 1 forks source link

`681532_2023-10-17` missing ephys devices #58

Closed bjhardcastle closed 10 months ago

bjhardcastle commented 11 months ago

reported by @olsenshawn

QC notebook with traceback: https://osf.io/dt46y?view_only=035876aa04154f04ab5ca1e6be18ee72

I suspect it's a problem with accessing uploaded raw data upload, which changed this week after updating aind-data-transfer

bjhardcastle commented 11 months ago

The problem is that probe E wasn't sorted, but photodocs and insertion records suggest that it was inserted.

May be able to learn more from sorting logs: sorted data asset

bjhardcastle commented 11 months ago

Raw data on E looks like it was not inserted:

import matplotlib.pyplot as plt
import npc_sessions

plt.imshow(
    npc_sessions.Session('ecephys_681532_2023-10-17')
    .acquisition['AP']['probeE'].data[30000*600:30000*600 + 60000, :].T,
    aspect=20,
)
plt.show()

image

Data look fine from probe E in the next day's session:

plt.imshow(
    npc_sessions.Session('ecephys_681532_2023-10-18')
    .acquisition['AP']['probeE'].data[30000*600:30000*600 + 60000, :].T,
    aspect=20,
)
plt.show()

image

bjhardcastle commented 11 months ago

@arjunsridhar12345 @egmcbride What's the best course of action here?

bjhardcastle commented 10 months ago

from output (also captured in processing.json)

Preprocessing recording: experiment1_Record Node 104#Neuropix-PXI-100.ProbeD-AP_recording1 Duration: 6812.98 s Bad channel detection:

  • dead channels - 142
  • noise channels - 106
  • out channels - 0 More than 50.0% bad channels (248). Skipping further processing for this recording. Preprocessing recording: experiment1_Record Node 104#Neuropix-PXI-100.ProbeE-AP_recording1 Duration: 6812.98 s Bad channel detection:
  • dead channels - 0
  • noise channels - 384
  • out channels - 0 More than 50.0% bad channels (384). Skipping further processing for this recording.