ó
ø`9Sc           @   sd   d  d l  Td  d l Td  d l Td  d l Td d g Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   *t   ManualParamst   ManualParamsDialogc           B   sW  e  Z d  Z e d d ƒ e d d d e d d d ƒe d d d	 e d
 d d ƒe d d d e d d d ƒe d d d e d d d ƒe d d ƒ e d d d e d d d ƒe d d d e d d d ƒe d d d e d d d ƒe d d d e d d d ƒe d d ƒ e d d d e d d d ƒe d d d e d d d ƒe d d  d! e d d d ƒe d d" d# e d d d ƒe d$ d% ƒ e d$ d& d' e d( d d ƒe d$ d) ƒ e d$ d* d+ e d d d ƒe d, d- ƒ e d, d. d/ e d0 d d ƒe d, d1 ƒ e d, d2 d3 e d0 d d ƒe d4 d5 ƒ e d4 d6 d7 e d ƒ g Z e d8 „  ƒ Z e d9 „  ƒ Z	 RS(:   su  Generic algorithm parameters for the manual version of aerosol profile
    retrieval algorithm.

    Attributes:
      - 'weighting355', 'weighting532', 'weighting1064', 'weighting532C':
        weighting coefficients for lidar signals.
      - 'weightingFine', 'weightingSpherical', 'weightingSpheroid',
        'weightingCoarse': weighting coefficients for aerosol fraction
        concentrations retrieved with Sun photometer.
      - 'weightSmoothFine', 'weightSmoothSpherical', 'weightSmoothSpheroid',
        'weightSmoothCoarse': weighting coefficients for aerosol profile
        smoothness terms.

      - 'molDepolarization532': depolarization ratio of the molecular
        atmosphere (currently, single value is used for all the wavelenghts).
      - 'parallelLeakage532': portion of the parallel-polarized lidar signal
        that actually penetrates the cross-polarized receiver channel.

      - 'tolFun': 'Function tolerance' criterion to be used by the Matlab's
        optimization function (maximum value of the function change between
        successive iterations, or alternatively maximum value of its first
        derivative, that should trigger termination of the optimization
        process).
      - 'tolX': 'Parameter tolerance' criterion to be used by the Matlab's
        optimization function (maximum value of the parameters change between
        successive iterations that should trigger termination of the
        optimization process).

      - 'photometerDisplacement': altitude of the photometer station relative
        to the lidar measurement point (positive value means that photometer is
        above the lidar). This value should normally be zero. It might be
        calculated based on the values stored in "aeronet locations" data file
        and in the lidar databases, but is instead placed here, to make it more
        explicit and hence avoid confusion.t   Weighting_coefficientss   Lidar signals:s   k<sub>355</sub> =t   weighting355gñhãˆµøÄ>t   minValueg        s   k<sub>532</sub> =t   weighting532gñhãˆµøÔ>s   k<sub>1064</sub> =t   weighting1064u   k<sub>532,âŠ¥</sub> =t   weighting532CgiUMuß>s   Total concentrations:s   f<sub>fine</sub> =t   weightingFinegš™™™™™É?s   f<sub>spherical</sub> =t   weightingSphericals   f<sub>spheroid</sub> =t   weightingSpheroids   f<sub>coarse</sub> =t   weightingCoarses   Concentration smoothnesses:s   d<sub>fine</sub> =t   weightSmoothFineg      ð?s   d<sub>spherical</sub> =t   weightSmoothSphericals   d<sub>spheroid</sub> =t   weightSmoothSpheroids   d<sub>coarse</sub> =t   weightSmoothCoarset   Polarization_parameterss   Molecular depolarization:u   Ï‡<sub>532</sub> =t   molDepolarization532gyé&1¬Œ?s   Parallel leakage:u   Î¼<sub>532</sub> =t   parallelLeakage532t   Optimization_optionss   Function tolerance:s   Tol<sub>Fun</sub> =t   tolFungH¯¼šò×z>s   Parameter tolerance:s   Tol<sub>X</sub> =t   tolXt   Photometer_parameterss   Altitude displacement (m):u   Î”h<sub>photo</sub> =t   photometerDisplacementc         C   s   |  j  S(   N(   t   parameterList(   t   cls(    (    s   code\ManualParams.pyt   getParameterListy   s    c         C   s   d S(   Ns   settings/ManualParams.ini(    (   R   (    (    s   code\ManualParams.pyt   getSettingsFilePath}   s    (
   t   __name__t
   __module__t   __doc__t   ParameterHeadert   ParameterInfot   floatR   t   classmethodR   R   (    (    (    s   code\ManualParams.pyR      s^   "																	c           B   s,   e  Z d  Z e d „  ƒ Z e d „  ƒ Z RS(   sA   Dialog for interactive modification of a 'ManualParams' instance.c         C   s7   t  d d ƒ t  d d t ƒ t  d d ƒ t  d d ƒ g S(	   NR   s   &Weighting coefficientsR   s   &Polarization parametersR   s   &Optimization optionsR   s   P&hotometer parameters(   t   ParameterGroupInfot   True(   R   (    (    s   code\ManualParams.pyt   getGroupInfoList†   s    	c         C   s   d S(   Ns   Manual retrieval parameters(    (   R   (    (    s   code\ManualParams.pyt   getWindowTitle•   s    (   R   R   R   R#   R&   R'   (    (    (    s   code\ManualParams.pyR   ‚   s   N(	   t   PyQt4.QtCoret   PyQt4.QtGuit   common.ParamsCollectiont   common.ParamsDialogt   __all__t   ParamsCollectionR   t   ParamsDialogR   (    (    (    s   code\ManualParams.pyt   <module>   s   



g