Description Usage Arguments Value Examples
Takes an average time dynamics dataset and returns a dataframe and optionally plots data.
1 2 3 4 5 6 | read.delay_scan(filename,
time_max = 4,
time_offset = 0,
zero_offset = 1:10,
quick_plot = T,
...)
|
filename |
The filename of the averaged output file from labview |
time_max |
maximum time in the scan |
time_offset |
Adjust the time axis to allow delay overlap to be corrected |
zero_offset |
Add a zero offset if required |
quick_plot |
Toggle a quick plot |
... |
Additional arguements sent to base plot function. |
returns a dataframe of time vs signal
1 2 3 4 5 6 7 8 9 10 11 | fake_data<-(3+rnorm(1:400,sd=5e-2)+(exp(-((1:400)-100)^2/20^2)))
# make a fake delay_scan temp file for use in example
tf<-tempfile()
writeLines(text = as.character(fake_data),tf)
#use read.delay_scan()
fake_delay_scan<-read.delay_scan(tf,time_max = 4,time_offset = 1)
#delete temp file
unlink(tf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.