o
    iwhK                     @   s2   d Z ddlZddlZdd Zedkre  dS dS )zHelper script for creating image .dat files by numpy.save

Usage:

    python create_dat.py <name of image file> <name of dat file>

Example (to create aero.dat):

    python create_dat.py aero.png aero.dat

Requires Scipy and PIL.
    Nc                  C   sV   ddl m}  ttjdkrtt t  tjd }tjd }| |}tj	||d d S )Nr   )imread         )data)

scipy.miscr   lensysargvprint__doc__exitnpsavez_compressed)r   image_fname	dat_fnamer    r   V/var/www/html/ecg_monitoring/venv/lib/python3.10/site-packages/pywt/data/create_dat.pymain   s   

r   __main__)r   r	   numpyr   r   __name__r   r   r   r   <module>   s   
