bsmart.scans.read_csv

Scan that reads values for the variables from a Comma Separated Values file whose first line contains a list of the variable names (as used by pandas)

Requires:

"Setup: {
    "Input_CSV_File" : "<csv filename>"
}

Information

BSMArt Name: Read CSV

Requires:
  • pandas

Settings:

  • Input_CSV_File: Path to input CSV file

class bsmart.scans.read_csv.NewScan(inputs, log)[source]

Bases: Scan

Class to run codes over a series of points stored in a csv file. The entries corresponding to the variables are stored in the json input as variables with the name given in the first line

generate_parameter_points(npoints)[source]
initialise()[source]

method to allow the user scan to overload run settings etc during the initialisation process

postprocess(Point, observables, data_point, temp_dir, log, lock=None)[source]

No postprocessing

run()[source]