Skip to content

Commit

Permalink
CRAN v 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
baptiste authored and baptiste committed May 19, 2013
1 parent ab00cbf commit c704ed6
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 5 deletions.
8 changes: 7 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
dielectric 0.2.2 (2013-05-18)

* cleaning examples for CRAN

* amorphous Si

dielectric 0.2.1 (2013-01-06)

* NEW added
* NEWS added

* units are in nm
Binary file modified data/AgPalik.rda
Binary file not shown.
Binary file modified data/AuJC.rda
Binary file not shown.
Binary file modified data/aSi.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion demo/00Index
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AuJC gold dielectric function from Johnson and Christy
AgPalik silver dielectric function from Johnson and Christy
Si silicon dielectric function from http://refractiveindex.info
Si silicon dielectric function from http://refractiveindex.info
4 changes: 2 additions & 2 deletions demo/AgPalik.r
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ library(ggplot2)

data(AgPalik)

AgPalik$set_span(300, 800)
AgPalik$set_span(200, 800)
raw <- dielectric2plot(AgPalik$raw())
silver <- AgPalik$predict(n=300, all.knots=TRUE)
silver <- AgPalik$predict(n=300, all.knots=TRUE, df=200)

d <- dielectric2plot(silver)

Expand Down
2 changes: 1 addition & 1 deletion inst/rawdata/silicon.r
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require(dielectric)
setwd("/Users/auguieba/Documents/r/github/dielectric/inst/rawdata/")
setwd("~/Documents/github/dielectric/inst/rawdata")
## test <- read.table("CRYSTALS_a-Si_sopra_asi.txt", head=TRUE)
## test <- transform(test, epsilon = complex(real = n, imag = k)^2, wavelength=lambda*1e3)
## dput(test[, c("wavelength", "epsilon")])
Expand Down
16 changes: 16 additions & 0 deletions man/aSi.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
\name{aSi}
\alias{aSi}
\docType{data}
\title{ aSi }
\description{
Amorphous Si dielectric function
}
\usage{data(aSi)}
\source{
http://refractiveindex.info/?group=CRYSTALS&material=a-Si
}
\examples{
data(aSi)
str(aSi$raw())
}
\keyword{datasets}

0 comments on commit c704ed6

Please sign in to comment.