Extracting Metadata

 

Here we will extract metadata about subject, session, experiment date and time from the folder structures.

Detect Data Information

Fill in automatically the subject ID / Session ID from the subfolder information.

SubjectID: 2024-12-04_102815_mouseF1

  • We select the mouse Subject ID by using Select Substring. Highlight mouseF1.
Image
Image: SubjectID

SessionID: For sessionID we need to combine the names of subfolders. Select multiple folders…

  • This opens a box Select Folder Level(s).
    Highlight one or more folder levels: (click shift to select multiple)
    • 2024-12-04-04_102815_mouseF1
    • trial_001
  • Click OK
Image: SessionID
Image: Select Folder Level(s)

Experiment Date: 2024-12-04_102815_mouseF1

  • Select Substring: 2024-12-04 and OK.
  • Enter date format: yyyy-MM-dd

Experiment Time: 2024-12-04_102815_mouseF1

  • Select Substring: 102815 and OK.
  • Enter date format: HHmmss
 

You should have filled in as the final image on the right column.

Click right arrow.

Image

Session Table

You get a list of session in a table

 

On The Detect Data Information,

Save changes to Data Locations. > YES

 

 

 

Image: SessionTable
Image 

Tip: After Saving Data Locations you can recover the Session Table using the command

nansen
or 
nansen.ProjectManager()


< 2. Adding data to the NANSEN project 4. Find variables of Interest >

 

Published May 5, 2026 2:34 PM - Last modified May 5, 2026 2:51 PM