From f256a3a03d806b7a1d546e347c7f75c40bdbca4b Mon Sep 17 00:00:00 2001 From: Jim Rybarski Date: Wed, 2 Dec 2015 23:57:29 -0600 Subject: [PATCH] resolves #125 --- woo.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 woo.py diff --git a/woo.py b/woo.py deleted file mode 100644 index b51cc6d..0000000 --- a/woo.py +++ /dev/null @@ -1,14 +0,0 @@ -from nd2reader import Nd2 -from pprint import pprint -import six - -n = Nd2("/home/jim/nd2s/FYLM-141111-001.nd2") - -# for k, v in n._parser.raw_metadata.image_metadata_sequence[b'SLxPictureMetadata'][b'sPicturePlanes'][b'sSampleSetting'][b'a1'].items(): -for camera in n._parser._raw_metadata.image_metadata_sequence[b'SLxPictureMetadata'][b'sPicturePlanes'][b'sSampleSetting'].values(): - name = camera[six.b('pCameraSetting')][six.b('CameraUserName')] - id = camera[six.b('pCameraSetting')][six.b('CameraUniqueName')] - channel_name = camera[six.b('sOpticalConfigs')][six.b('')][six.b('sOpticalConfigName')] - x_binning = camera[six.b('pCameraSetting')][six.b('FormatFast')][six.b('fmtDesc')][six.b('dBinningX')] - y_binning = camera[six.b('pCameraSetting')][six.b('FormatFast')][six.b('fmtDesc')][six.b('dBinningY')] - exposure = camera[six.b('dExposureTime')]