export_pdh: export SAXS data in pdh format

Description Usage Arguments Value Examples

View source: R/export_data.R

Description

export SAXS data in pdh format

Usage

1
export_pdh(param_list, saxs_dat, file_name)

Arguments

param_list

experiment parameters

saxs_dat

experimental data

file_name

output pdh file name

Value

none

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
saxs_dat <- data.frame(q = 1:100, I = sqrt(1:100), Ierr = sqrt(1:100)*.1)
file_name <- "proba.phd"
param_list <- list(title = "AustroSAXS",
                   keywords = "SAXS",
                   number_of_points = nrow(saxs_dat),
                   sample_to_detector_mm = 1741.829,
                   normalization_factor = 1,
                   lambda_nm = 1.54e-1
)
   export_pdh(param_list, saxs_dat, file_name)

kjuraic/rsaxs documentation built on Nov. 29, 2017, 10:20 p.m.