phys2bids.io.load_acq

phys2bids.io.load_acq(filename, chtrig=0)[source]

Populate object phys_input from acq extension files.

Parameters:
  • filename (str) – path to the txt labchart file

  • chtrig (int, optional) – index of trigger channel. Default is 0.

Return type:

BlueprintInput

Note

chtrig is not a 0-based Python index - instead, it’s human readable (i.e., 1-based). This is handy because, when initialising the class, a new channel corresponding to time is added at the beginning - that is already taken into account!

See also

physio_obj.BlueprintInput