make.movieframes: Generate a movie of MEA activity.

make.movieframesR Documentation

Generate a movie of MEA activity.

Description

The mean firing rate of each unit is computed and represented as a circle with the area proportional to the firing rate. The sequence of frames are then coerced into a movie.

Usage

make.movieframes(x, beg = 1, end = dim(x$rates$rates)[1],
  outputdir = dirname(tempfile()), prefix = "mea",
  show.frames = interactive(), seconds = TRUE, delete.first = TRUE,
  clean.after = FALSE, anim.delay = 5)

Arguments

x

The "s" object.

beg

start time of the movie

end

end time of the movie

outputdir

directory to store the frames (no slash at end). If directory does not exist, it is created first.

prefix

prefix file name for frames

show.frames

Boolean – do we show the frames on screen as well?

seconds

Boolean: draw the time above the plot?

delete.first

Boolean: delete the outputdir before starting?

clean.after

Boolean: delete the outputdir after finishing?

anim.delay

time (in seconds) delay between frames. If delay is zero, do not convert movie.

Value

NULL.

Author(s)

Stephen Eglen


sje30/sjemea documentation built on May 21, 2024, 5:44 a.m.