discover_nwb#

ethograph.io.nwb_alignment.discover_nwb(nc_path)[source]#

Find an NWB session file near a data file.

Search order: 1. <dir>/.ethograph/alignment.nwb 2. Any .nwb file in <dir>/.ethograph/

Return type:

Path | None