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