from_files#

pymovements.stimulus.image.from_files(path: str | Path, filename_format: str) ImageStimulus[source]#

Load image stimulus from file.

Parameters:
  • path (str | Path) – Path to directory with image stimulus files.

  • filename_format (str) – Format of the image stimulus file names.

Returns:

Returns the image stimulus file.

Return type:

ImageStimulus