Skip to content
Snippets Groups Projects
Commit 1c38a0fa authored by Thomas Bock's avatar Thomas Bock :speech_balloon:
Browse files

unit in

parent 799a56db
Branches
Tags v0.3.0
No related merge requests found
...@@ -8,7 +8,7 @@ resSens <- function(ccc){ ...@@ -8,7 +8,7 @@ resSens <- function(ccc){
##-------------## ##-------------##
PCAL <- getSubList(a$cav$Pressure, "cal") PCAL <- getSubList(a$cav$Pressure, "cal")
PCAL$HeadCell <- "{\\(p_{cal}\\)}" PCAL$HeadCell <- "{\\(p_{cal}\\)}"
PCAL$UnitCell <- PCAL$Unit PCAL$UnitCell <- paste("{in", PCAL$Unit, "}")
pcal <- getConstVal(NA, NA, PCAL) pcal <- getConstVal(NA, NA, PCAL)
##-------------## ##-------------##
...@@ -27,14 +27,14 @@ resSens <- function(ccc){ ...@@ -27,14 +27,14 @@ resSens <- function(ccc){
##-------------## ##-------------##
PIND <- getSubList(a$cav$Pressure, "ind") PIND <- getSubList(a$cav$Pressure, "ind")
PIND$HeadCell <- "{\\(I_{C}\\)}" PIND$HeadCell <- "{\\(I_{C}\\)}"
PIND$UnitCell <- PIND$Unit PIND$UnitCell <- paste("{in", PIND$Unit, "}")
pind <- getConstVal(NA, NA, PIND) pind <- getConstVal(NA, NA, PIND)
##-------------## ##-------------##
## ind_offset ## ind_offset
##-------------## ##-------------##
PINDoffs <- getSubList(a$cav$Pressure, "ind_offset") PINDoffs <- getSubList(a$cav$Pressure, "ind_offset")
PINDoffs$HeadCell <- "{\\(I_{R}\\)}" PINDoffs$HeadCell <- "{\\(I_{R}\\)}"
PINDoffs$UnitCell <- PINDoffs$Unit PINDoffs$UnitCell <- paste("{in", PINDoffs$Unit, "}")
pindoffs <- getConstVal(NA, NA, PINDoffs) pindoffs <- getConstVal(NA, NA, PINDoffs)
##-------------## ##-------------##
...@@ -42,7 +42,7 @@ resSens <- function(ccc){ ...@@ -42,7 +42,7 @@ resSens <- function(ccc){
##-------------## ##-------------##
PINDcorr <- getSubList(a$cav$Pressure, "ind_corr") PINDcorr <- getSubList(a$cav$Pressure, "ind_corr")
PINDcorr$HeadCell <- "{\\(I_{C} - I_{R}\\)}" PINDcorr$HeadCell <- "{\\(I_{C} - I_{R}\\)}"
PINDcorr$UnitCell <- PINDcorr$Unit PINDcorr$UnitCell <- paste("{in", PINDcorr$Unit, "}")
pindcorr <- getConstVal(NA, NA, PINDcorr) pindcorr <- getConstVal(NA, NA, PINDcorr)
##-------------## ##-------------##
...@@ -51,7 +51,7 @@ resSens <- function(ccc){ ...@@ -51,7 +51,7 @@ resSens <- function(ccc){
RES <- getSubList(a$cav$Sensitivity, "gauge_sens") RES <- getSubList(a$cav$Sensitivity, "gauge_sens")
RES$HeadCell <- "{\\(S\\)}" RES$HeadCell <- "{\\(S\\)}"
RES$UnitCell <- RES$Unit RES$UnitCell <- paste("{in", RES$Unit, "}")
result <- getConstVal(NA, NA, RES) result <- getConstVal(NA, NA, RES)
PCAL$Value <- formatC(pcal, digits=3, format="E") PCAL$Value <- formatC(pcal, digits=3, format="E")
......
...@@ -13,7 +13,7 @@ results <- function(ccc){ ...@@ -13,7 +13,7 @@ results <- function(ccc){
##-------------## ##-------------##
PCAL <- getSubList(a$cav$Pressure, "cal") PCAL <- getSubList(a$cav$Pressure, "cal")
PCAL$HeadCell <- "{\\(p_{\\text{cal}}\\)}" PCAL$HeadCell <- "{\\(p_{\\text{cal}}\\)}"
PCAL$UnitCell <- paste0("{(",PCAL$Unit,")}") PCAL$UnitCell <- paste0("{ in ",PCAL$Unit,"}")
pcal <- getConstVal(NA, NA, PCAL) pcal <- getConstVal(NA, NA, PCAL)
##-------------## ##-------------##
...@@ -36,13 +36,13 @@ results <- function(ccc){ ...@@ -36,13 +36,13 @@ results <- function(ccc){
## ind ## ind
PIND <- getSubList(a$cav$Pressure, "ind") PIND <- getSubList(a$cav$Pressure, "ind")
PIND$HeadCell <- "{\\(p_{\\text{ind}}\\)}" PIND$HeadCell <- "{\\(p_{\\text{ind}}\\)}"
PIND$UnitCell <- paste0("{(",PIND$Unit,")}") PIND$UnitCell <- paste0("{in ",PIND$Unit,"}")
pind <- getConstVal(NA, NA, PIND) pind <- getConstVal(NA, NA, PIND)
## ind_corr ## ind_corr
PINDcorr <- getSubList(a$cav$Pressure, "ind_corr") PINDcorr <- getSubList(a$cav$Pressure, "ind_corr")
PINDcorr$HeadCell <- "{\\(p_{\\text{ind}} - p_{\\text{r}}\\)}" PINDcorr$HeadCell <- "{\\(p_{\\text{ind}} - p_{\\text{r}}\\)}"
PINDcorr$UnitCell <- paste0("{(",PINDcorr$Unit,")}") PINDcorr$UnitCell <- paste0("{in ",PINDcorr$Unit,"}")
pindcorr <- getConstVal(NA, NA, PINDcorr) pindcorr <- getConstVal(NA, NA, PINDcorr)
## e ## e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment