pixel_to_visualangle: Check which files will be uploaded to OSF

View source: R/pixel_to_visualangle.R

pixel_to_visualangleR Documentation

Check which files will be uploaded to OSF

Description

Verify that the file/folder names and pattern strings specificed in upload_to_osf(skip_files = c()) argument will only upload the files you want to upload.

Usage

pixel_to_visualangle(
  pixels,
  monitor_res,
  monitor_diagonal_in,
  viewing_distance
)

Arguments

pixels

Pixel value to convert to visual angle.

monitor_res

A vector of two integers representing the monitor resolution in pixels. e.g., c(1920, 1080).

monitor_diagonal_in

The diagonal size of the monitor in inches.

viewing_distance

The distance from the monitor to the viewer in cm.


dr-JT/workflow documentation built on March 19, 2024, 7:51 p.m.