|
|
@ -1,7 +1,6 @@ |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
|
|
|
|
import array |
|
|
|
from collections import namedtuple |
|
|
|
from datetime import datetime |
|
|
|
import numpy as np |
|
|
|
import re |
|
|
@ -9,9 +8,6 @@ import struct |
|
|
|
from StringIO import StringIO |
|
|
|
|
|
|
|
|
|
|
|
field_of_view = namedtuple('FOV', ['number', 'x', 'y', 'z', 'pfs_offset']) |
|
|
|
|
|
|
|
|
|
|
|
class Nd2Parser(object): |
|
|
|
""" |
|
|
|
Reads .nd2 files, provides an interface to the metadata, and generates numpy arrays from the image data. |
|
|
|