ó
@Ç/Qc           @   sÒ   d  d l  Z  d e  j d <e  j d d d ƒe  j d d e ƒd  d	 l Td  d	 l Td  d
 l m Z d  d l Z d  d l	 m
 Z
 m Z d  d l Z d  d l Z d „  Z d „  Z d „  Z e d k rÎ e ƒ  n  d S(   iÿÿÿÿNt   Aggt   backendt   fontt   sizet   10t   textt   usetex(   t   *(   t   Shot(   t   copyt   movec      
   C   sN  y] d } t  d d d d d d g d t d	 t ƒ} t | | d
 d d d |  ƒ t j d ƒ Wn d GH‚  n XyÇ d } t  d d d d d d g d t d	 t ƒ} t | | d d d t | ƒ d f d d |  ƒ t  d d d d d d g d t d	 t ƒ} t | | d d t | ƒ d f d d |  ƒ t j d ƒ Wn d GHn Xd GHd  S(   Ns   NI Turbo 6251t   NIturbo6251t   cht    t   xlimi    i(   t
   integratedt	   reductiont   graph0i
   i   id   t   verticals-   convert -resize 150x120\! graph0.png icon.pngs   NIturbo6251 faileds   NI Turbo 6358t   NIturbos    Integratedt   graph2i   i   t   graph1s-   convert -resize 150x120\! graph1.png icon.pngs   NIturbo6358 failedt   done(   i
   i   (   t   get_datat   Falset	   multiplott   ost   systemt   Truet   paralel_multiplott   len(   t	   file_typet   namet   out(    (    s&   ../includes/DAS/0311NIturbo.ON/main.pyt   graphs   s$    **0*,	c          C   s%   x d d g D] }  t  |  ƒ q Wd  S(   Nt   Nidatap_6358t   Nidatap_6251(   t   load_adv(   R    (    (    s&   ../includes/DAS/0311NIturbo.ON/main.pyt   acquisition8   s    c           C   sN   t  j d d k r- t d ƒ t d d ƒ n  t  j d d k rJ t ƒ  n  d  S(   Ni   t   plotst   pngt   statusi    R&   (   t   syst   argvR"   t	   saveconstR&   (    (    (    s&   ../includes/DAS/0311NIturbo.ON/main.pyt   main?   s
    
t   __main__(   t
   matplotlibt   rcParamst   rcR   t   numpyt   pygolem_lite.modulest   pygolem_liteR   t   timet   shutilR	   R
   R   R*   R"   R&   R-   t   __name__(    (    (    s&   ../includes/DAS/0311NIturbo.ON/main.pyt   <module>   s   

	!			