# -*- coding: utf-8 -*-
"""
@author: Sebi

File: showZwellplate.py
Date: 21.03.2016
Version. 0.1
"""

import bfimage as bf
import dispZsurface as dsp
import pandas as pd

filename = r'testdata/WP_96_Positions.csv'

# create plane info from CZI image file and write CSV file (optional)
planetable = bf.get_planetable(filename, writecsv=True, separator='\t')

# or use the CSV file directly once it was created
planetable = pd.read_csv(filename, sep='\t')

# show the dataframe
print planetable[:5]
print planetable.shape[0]

# display the Z-surface
dsp.dispXYZfromTable(planetable, planetable.shape[0])

# -*- coding: utf-8 -*-
"""
@author: Sebi

File: showZwellplate.py
Date: 21.03.2016
Version. 0.1
"""

import bfimage as bf
import dispZsurface as dsp
import pandas as pd

filename = r'testdata/Wellchamber_384_Comb.czi'

if filename[-3:] == 'czi':
    # create plane info from CZI image file and write CSV file (optional)
    planetable = bf.get_planetable(filename, writecsv=True, separator='\t')
elif filename[-3:] == 'csv':
    # or use the CSV file directly once it was created
    planetable = pd.read_csv(filename, sep='\t')

# show the dataframe
print planetable[:5]
print planetable.shape[0]

# display the Z-surface
dsp.dispXYZfromTable(planetable, planetable.shape[0])

Update showZwellplate.py