Lab::XPRESS::Sweep::LogBlock -- Sweep add-on for matrix logging.
# 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);
This role exports the single method LogBlock. The valid parameters are:
LogBlock
List of rows (e.g. [[1, 2, 3], [2, 3, 4]]), which shell be written to the data file.
[[1, 2, 3], [2, 3, 4]]
List of parameters which shell be prefixed to each row of the block.
Index of the target data file (default: 0).
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.