++ed by:
AMBA

1 PAUSE user
1 non-PAUSE user.

Andreas K. Hüttel
and 4 contributors

NAME

Lab::XPRESS::Sweep::LogBlock -- Sweep add-on for matrix logging.

SYNOPSIS

   # define your columns

   # parameters controlled by the XPRESS sweeps
   $DataFile->add_column('gate');
   $DataFile->add_column('bias');

   # parameters in the block, here we have a block with 2 columns.
   $DataFile->add_column('frequency');
   $DataFile->add_column('transmission');

   # Define your sweeps ... 

   # In your measurement subroutine: Get block and log
   $matrix = $instrument->get_block(...)   
   $sweep->LogBlock(
        prefix => [$gate, $bias],
        block => $matrix);

DESCRIPTION

This role exports the single method LogBlock. The valid parameters are:

block (mandatory)

List of rows (e.g. [[1, 2, 3], [2, 3, 4]]), which shell be written to the data file.

prefix

List of parameters which shell be prefixed to each row of the block.

file

Index of the target data file (default: 0).