Metadata-Version: 1.1
Name: igorwriter
Version: 0.1.0
Summary: Write IGOR binary (.ibw) or text (.itx) files from numpy array
Home-page: https://github.com/t-onoz/igorwriter
Author: t-onoz
Author-email: UNKNOWN
License: MIT
Description-Content-Type: UNKNOWN
Description: IgorWriter

        ==========

        

        Write IGOR binary (.ibw) or text (.itx) files from numpy array

        

        Installation

        ------------

            $ pip install igorwriter

        

        Usage

        -----

            >>> import numpy as np

            >>> from igorwriter import IgorWave

            >>> array = np.array([1,2,3,4,5,6])

            >>> wave = IgorWave(array, name='mywave')

            >>> wave.set_datascale('DataUnit')

            >>> wave.set_dimscale('x', 0, 0.01, 's')  # set x scale information

            >>> wave.save('mywave.ibw')

            >>> wave.save_itx('mywave.itx')

        

        Notes on Image Plots

        --------------------

        Image Plot in IGOR and :code:`imshow` in matplotlib use different convention for x and y axes:

        

        - Rows as x, columns as y (IGOR)

        - Columns as x, rows as y (Matplotlib)

        

        Thus, :code:`image` parameter was introduced in :code:`save()` and :code:`save_itx()` methods. 

        If you use e.g. 

        

            >>> wave.save('path.ibw', image=True)

            

        :code:`plt.imshow` and Image Plot will give the same results.

        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
