#!/usr/bin/env python
#-*- coding:utf-8 -*-

"""Tools for computations involving polarization.
"""


def lin_pol_to_TE_TM(field):
    """Convert [E_x, E_y] data to [E_TE, E_TM].
    """

    pass


def TE_TM_pol_to_lin(field):
    """Convert [E_TM, E_TM] data to [E_x, E_y].
    """

    pass



def IPS(field, pref_state):
    pass


def DOP(field):
    pass
