NAME

Lab::Moose::DataFile::Gnuplot::Compressed - Text based data file ('Gnuplot style'), auto-compressed

VERSION

version 3.671

SYNOPSIS

 use Lab::Moose;

 my $folder = datafolder();

 my $file = datafile(
     type => 'Gnuplot::Compressed',
     folder => $folder,
     filename => 'gnuplot-file.dat',
     columns => [qw/time voltage temp/]
     );

 $file->log(time => 1, voltage => 2, temp => 3);

METHODS

new

Supports the following attributes in addition to the Lab::Moose::DataFile::Gnuplot requirements:

  • compression

    Compression type; defaults to 'Bzip2', which is also the only value that has been tested so far. The following values are possible:

      None
      Gzip
      Bzip2
      Lzf
      Xz

    Note that (except for None) this requires the corresponding IO::Compress:: modules to be available; only Gzip and Bzip2 are part of core perl.

This datafile type does not support any plots.

COPYRIGHT AND LICENSE

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

  Copyright 2018       Andreas K. Huettel, Simon Reinhardt

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