# HG changeset patch # User Iannis # Date 1535459693 -10800 # Node ID 0ec29d360d157d0dc16564fa6fc890138369fe7b # Parent 6be372caf9fdcc7766a0c32f848810b1990cac99 Added pring channel method to LicelLidarMeasurement. diff -r 6be372caf9fd -r 0ec29d360d15 atmospheric_lidar/licel.py --- a/atmospheric_lidar/licel.py Thu Jun 21 16:41:32 2018 +0300 +++ b/atmospheric_lidar/licel.py Tue Aug 28 15:34:53 2018 +0300 @@ -589,3 +589,16 @@ This requires changes in generic.py """ raise NotImplementedError("Subsetting by time, not yet implemented for Licel files.") + + def print_channels(self): + """ Print the available channel information on the screen. + """ + keys = sorted(self.channels.keys()) + + print("Name Wavelength Mode Resolution Bins ") + + for key in keys: + channel = self.channels[key] + print("{0:<3} {1:<10} {2:<4} {3:<10} {4:<5}".format(channel.name, channel.wavelength, + channel.analog_photon_string, channel.resolution, + channel.points)) \ No newline at end of file