Skip to contents

Get template bounds

Usage

bounds(stimuli, each = FALSE)

Arguments

stimuli

A stimlist

each

Whether to calculate max and min for the full set (default) or each image separately

Value

A list of min and max x and y values

Examples

demo_stim() |> bounds() |> str()
#> 'data.frame':	1 obs. of  4 variables:
#>  $ min_x: num 135
#>  $ max_x: num 365
#>  $ min_y: num 92.6
#>  $ max_y: num 392

demo_stim() |> bounds(each = TRUE)
#>            min_x    max_x    min_y    max_y
#> f_multi 135.5556 364.8148 93.79630 391.6667
#> m_multi 135.4630 361.9444 92.59259 384.4444