Skip to content

package for processing cary eclipse spectroscopy data

Notifications You must be signed in to change notification settings

jonbramble/caryscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title author date
The caryscan package
Jonathan Bramble
18 May 2017

caryscan

  • Author: Jonathan Bramble
  • Licence: MIT
  • Source

caryscan is an R package to process and plot spectral data taken on the cary eclipse spectrophotometer instrument.

The version of the cary software may mean this doesn't work for you. My spectrophotometer is pretty old.

Installation

library(devtools)
install_github("jonbramble/caryscan")

Usage

Save the data on the spectrometer in "Spreadsheet ASCII csv mode"

library(caryscan)

filename <- "data_file_1.csv"
path <- "C:\\Users\\user\\Documents\\Data\\cary\\date"

#import the data, nlines is the number of datapoints and scans is the number of repeats
df_1 <- import_data(path,filename,nlines=121,scans=10)

#quick plot
plot_all(df_1,scans=10)

#plot mean of all scans
plot_mean(df_1,scans=10)

#write out mean to file for fitting externally eg fityk package
filename <- "data_file_1_out.csv"
write_mean(path,filename)

TODO

  • add native fitting functions, background subtraction and wavelength limits

About

package for processing cary eclipse spectroscopy data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages