Description Usage Arguments Details Value Author(s)
this function finds the correlations between base and tip along all the knifes, image repetitions, and desired frequencies.
1 2 3 4 5 6 7 8 | create.df(
data,
cuts,
freqs,
freq_mult = 1.775,
map_func = freq.map.radial,
verb = verb
)
|
data |
list of arrays where each elements is an array corresponding to all the data from a single knife, typically generated by myread.data |
cuts |
numeric vector of cut points for specifying frequency ranges over which we would like to calculate correlations. For example, if 5-10 and 10-20 frequency ranges are desired, set cuts as c(5,10,20). |
freqs |
This is an alternative to specifying cuts (note that you should only specify one or the other). Suppose that you wished to calculate correlations for the 5-10 and 20-30 frequency ranges, but not 10-20. Then you could use this argument by passing a matrix with two columns and a number of rows equal to the number of frequency ranges you want to perform calculations for. The first column indicates the lower number in the frequency range, and the second column specifies the upper number in the frequency range. |
freq_mult |
This argument is the multiplier that tells you the at a given row or column index. This changes depending on the image magnification. |
map_func |
This argument is a function that takes in three arguments: freqs, freq\_mult, and image.dimensions, and produces a 3-D array where, along the third dimension, each element is a matrix of zeros and ones specifying the cells in a given image that are relevant for calculations at a given frequency range. Each of these matrices will be passed to func to specify the cells from a specific frequency range. The default function used here will likely not need to change. |
verb |
true or false, indicating if you want progress details |
This function creates a data frame which has columns containing some quantity (usually correlation) calculated for every pair of aligned images on a base and a tip.
data frame with the correlations along all frequencies, sample pairs
Carlos Llosa-Vite, llosacarlos2@gmail.com
Geoffrey Z. Thompson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.