generate_lhc_set_in_db: Generate LHC analysis sample and store in database

Description Usage Arguments

Description

Generates a set of parameters for execution in simulation to permit an LHC/PRCC analysis as described in spartan. These parameters are stored in the database, either for a given experiment ID created previously, or a new experiment is created in the database

Usage

1
2
3
generate_lhc_set_in_db(dblink, parameters, num_samples, minvals, maxvals,
  algorithm, experiment_id = NULL, experiment_description = NULL,
  experiment_date = Sys.Date(), return_experiment_id = FALSE)

Arguments

dblink

A link to the database in which this table is being created

parameters

The parameters of the simulation that are being analysed

num_samples

The number of samples to take from the hypercube

minvals

The minimum value of the range to explore for each parameter

maxvals

The maximum value of the range to explore for each parameter

algorithm

Choice of algorithm to use to generate the hypercube. Can be set to either 'normal' or 'optimum'. Beware optimum can take a long time to generate an optimised parameter set (more than 24 hours in some circumstances)

experiment_id

The ID of the experiment in the database, if not a new experiment. If NULL an experiment ID will be created

experiment_description

A description of this experiment, if a new experiment is being created

experiment_date

Date experiment created. Defaults to today's date if not entered

return_experiment_id

Whether the experiment ID generated should be returned


kalden/spartanDB documentation built on May 15, 2019, 12:02 p.m.