Finnigan::PacketHeader -- a decoder for PacketHeader, a substructure of ScanDataPaket
use Finnigan; my $ph = Finnigan::PacketHeader->decode(\*INPUT); say $ph->layout; say $ph->profile_size;
Calling this decoder is a pre-requisite to reading any scan data. It reads the data packet layout indicator and the sizes of the data streams included in the packet.
The constructor method
Get the layout indicator. Two values have been sighted so far: 0 and 128
Get the profile size in 4-byte words
Get the peak list size in 4-byte words
Get the low end of the M/z range
Get the high end of the M/z range
Gene Selkov, <firstname.lastname@example.org>
Copyright (C) 2010 by Gene Selkov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.