NAME

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

VERSION

version 3.731

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).

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by the Lab::Measurement team; in detail:

Copyright 2016       Simon Reinhardt
          2017       Andreas K. Huettel
          2020       Andreas K. Huettel

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.