pyroSAR/gamma/parser_demo.py
def rascc_mask(cc, pwr, width, start_cc='-', start_pwr='-', nlines='-', pixavr='-', pixavaz='-', cc_thres='-', pwr_thres='-', cc_min='-', cc_max='-', scale='-', exp='-', LR='-', rasf='-', logpath=None):
    """
    | Generate phase unwrapping validity mask using correlation and intensity
    | Copyright 2016, Gamma Remote Sensing, v2.0 12-Sep-2016 clw/uw
    
    Parameters
    ----------
    cc:
        (input)interferometric correlation image (float)
    pwr:
        (input)intensity image (float, enter - if not available)
    width:
        number of samples/row
    start_cc:
        starting line of coherence image (default: 1)
    start_pwr:
        starting line of intensity image (default: 1)
    nlines:
        number of lines to display (default=0: to end of file)
    pixavr:
        number of pixels to average in range (default: 1)
    pixavaz:
        number of pixels to average in azimuth (default: 1)
    cc_thres:
        coherence threshold for masking, pixels with cc < cc_thres are set to 0 (default: 0.0)
    pwr_thres:
        relative intensity threshold for masking, pixels with intensity < pwr_thres \* average intensity are set to 0 (default: 0)
    cc_min:
        minimum coherence value used for color display (default: 0.1)
    cc_max:
        maximum coherence value used for color display (default: 0.9)
    scale:
        intensity display scale factor (default: 1.)
    exp:
        intensity display exponent (default: .35)
    LR:
        left/right mirror image flag, (1: normal (default), -1: mirror image)
    rasf:
        (output) image filename, extension determines the format, enter - for default: \*.ras
            \*.bmp BMP format
            \*.ras Sun raster format
            \*.tif TIFF format
    logpath: str or None
        a directory to write command logfiles to
    """
    process(['/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/rascc_mask', cc, pwr, width, start_cc, start_pwr, nlines, pixavr, pixavaz, cc_thres, pwr_thres, cc_min, cc_max, scale, exp, LR, rasf], logpath=logpath)

    | Generate phase unwrapping validity mask using correlation and intensity
    | Copyright 2016, Gamma Remote Sensing, v2.0 12-Sep-2016 clw/uw
    
    Parameters
    ----------
    cc:
        (input)interferometric correlation image (float)
    pwr:
        (input)intensity image (float, enter - if not available)
    width:
        number of samples/row
    start_cc:
        starting line of coherence image (default: 1)
    start_pwr:
        starting line of intensity image (default: 1)
    nlines:
        number of lines to display (default=0: to end of file)
    pixavr:
        number of pixels to average in range (default: 1)
    pixavaz:
        number of pixels to average in azimuth (default: 1)
    cc_thres:
        coherence threshold for masking, pixels with cc < cc_thres are set to 0 (default: 0.0)
    pwr_thres:
        relative intensity threshold for masking, pixels with intensity < pwr_thres \* average intensity are set to 0 (default: 0)
    cc_min:
        minimum coherence value used for color display (default: 0.1)
    cc_max:
        maximum coherence value used for color display (default: 0.9)
    scale:
        intensity display scale factor (default: 1.)
    exp:
        intensity display exponent (default: .35)
    LR:
        left/right mirror image flag, (1: normal (default), -1: mirror image)
    rasf:
        (output) image filename, extension determines the format, enter - for default: \*.ras
            \*.bmp BMP format
            \*.ras Sun raster format
            \*.tif TIFF format
    logpath: str or None
        a directory to write command logfiles to
    
| Generate phase unwrapping validity mask using correlation and intensity
| Copyright 2016, Gamma Remote Sensing, v2.0 12-Sep-2016 clw/uw

Parameters


| Generate phase unwrapping validity mask using correlation and intensity | Copyright 2016 Gamma Remote Sensing v2 . 0 12 - Sep - 2016 clw / uw Parameters
def rascc_mask(cc, pwr, width, start_cc='-', start_pwr='-', nlines='-', pixavr='-', pixavaz='-', cc_thres='-', pwr_thres='-', cc_min='-', cc_max='-', scale='-', exp='-', LR='-', rasf='-', logpath=None):
    process(['/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/rascc_mask', cc, pwr, width, start_cc, start_pwr, nlines, pixavr, pixavaz, cc_thres, pwr_thres, cc_min, cc_max, scale, exp, LR, rasf], logpath=logpath)
def rascc_mask ( cc , pwr , width , start_cc = '-' , start_pwr = '-' , nlines = '-' , pixavr = '-' , pixavaz = '-' , cc_thres = '-' , pwr_thres = '-' , cc_min = '-' , cc_max = '-' , scale = '-' , exp = '-' , LR = '-' , rasf = '-' , logpath = None ) : process ( [ '/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/rascc_mask' , cc , pwr , width , start_cc , start_pwr , nlines , pixavr , pixavaz , cc_thres , pwr_thres , cc_min , cc_max , scale , exp , LR , rasf ] , logpath = logpath )
| Generate phase unwrapping validity mask using correlation and intensity
| Copyright 2016, Gamma Remote Sensing, v2.0 12-Sep-2016 clw/uw
| Generate phase unwrapping validity mask using correlation and intensity | Copyright 2016 Gamma Remote Sensing v2 . 0 12 - Sep - 2016 clw / uw
"""
    | Generate phase unwrapping validity mask using correlation and intensity
    | Copyright 2016, Gamma Remote Sensing, v2.0 12-Sep-2016 clw/uw
    
    Parameters
    ----------
    cc:
        (input)interferometric correlation image (float)
    pwr:
        (input)intensity image (float, enter - if not available)
    width:
        number of samples/row
    start_cc:
        starting line of coherence image (default: 1)
    start_pwr:
        starting line of intensity image (default: 1)
    nlines:
        number of lines to display (default=0: to end of file)
    pixavr:
        number of pixels to average in range (default: 1)
    pixavaz:
        number of pixels to average in azimuth (default: 1)
    cc_thres:
        coherence threshold for masking, pixels with cc < cc_thres are set to 0 (default: 0.0)
    pwr_thres:
        relative intensity threshold for masking, pixels with intensity < pwr_thres \* average intensity are set to 0 (default: 0)
    cc_min:
        minimum coherence value used for color display (default: 0.1)
    cc_max:
        maximum coherence value used for color display (default: 0.9)
    scale:
        intensity display scale factor (default: 1.)
    exp:
        intensity display exponent (default: .35)
    LR:
        left/right mirror image flag, (1: normal (default), -1: mirror image)
    rasf:
        (output) image filename, extension determines the format, enter - for default: \*.ras
            \*.bmp BMP format
            \*.ras Sun raster format
            \*.tif TIFF format
    logpath: str or None
        a directory to write command logfiles to
    """
cc
pwr
width
start_cc
start_pwr
nlines
pixavr
pixavaz
cc_thres
pwr_thres
cc_min
cc_max
scale
exp
LR
rasf
logpath