pyroSAR/gamma/parser_demo.py
def offset_pwr_tracking2(SLC1, SLC2, SLC1_par, SLC2_par, OFF_par, offs, ccp, OFF_par2='-', offs2='-', rwin='-', azwin='-', offsets='-', n_ovr='-', thres='-', rstep='-', azstep='-', rstart='-', rstop='-', azstart='-', azstop='-', c_ovr='-', pflag='-', pltflg='-', ccs='-', logpath=None):
    """
    | Intensity cross-correlation offset tracking with the initial offset for each patch determined from input offset map
    | Copyright 2016, Gamma Remote Sensing, v1.3 clw 22-Oct-2016
    
    Parameters
    ----------
    SLC1:
        (input) single-look complex image 1 (reference)
    SLC2:
        (input) single-look complex image 2
    SLC1_par:
        (input) SLC-1 ISP image parameter file
    SLC2_par:
        (input) SLC-2 ISP image parameter file
    OFF_par:
        (input) ISP offset/interferogram parameter file
    offs:
        (output) offset estimates in range and azimuth (fcomplex)
    ccp:
        (output) cross-correlation of each patch (0.0->1.0) (float)
    OFF_par2:
        (input) ISP offset/interferogram parameter file of the offset map to determine initial offsets (enter - for none)
    offs2:
        (input) input range and azimuth offset map to determine initial offsets (enter - for none)
    rwin:
        range patch size (range pixels, (enter - for default from offset parameter file)
    azwin:
        azimuth patch size (azimuth lines, (enter - for default from offset parameter file)
    offsets:
        (output) range and azimuth offsets and cross-correlation data in text format, enter - for no output
    n_ovr:
        SLC oversampling factor (integer 2\*\*N (1,2,4,8), enter - for default: 2)
    thres:
        cross-correlation threshold (0--> 1.)(enter - for default from offset parameter file)
    rstep:
        step in range pixels (enter - for default: rwin/2)
    azstep:
        step in azimuth pixels (enter - for default: azwin/2)
    rstart:
        offset to starting range pixel (enter - for default: 0)
    rstop:
        offset to ending range pixel (enter - for default: nr-1)
    azstart:
        offset to starting azimuth line (enter - for default: 0)
    azstop:
        offset to ending azimuth line  (enter - for default: nlines-1)
    c_ovr:
        correlation function oversampling factor (integer 2\*\*N (1,2,4,8,16) default: 4)
    pflag:
        print flag (enter - for default)
            * 0: print offset summary
            * 1: print all offset data
    
    pltflg:
        plotting flag (enter - for default)
            * 0: none (default)
            * 1: screen output
            * 2: screen output and PNG format plots
            * 3: output plots in PDF format
    
    ccs:
        (output) cross-correlation standard deviation of each patch (float)
    logpath: str or None
        a directory to write command logfiles to
    """
    process(['/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/offset_pwr_tracking2', SLC1, SLC2, SLC1_par, SLC2_par, OFF_par, offs, ccp, OFF_par2, offs2, rwin, azwin, offsets, n_ovr, thres, rstep, azstep, rstart, rstop, azstart, azstop, c_ovr, pflag, pltflg, ccs], logpath=logpath)

    | Intensity cross-correlation offset tracking with the initial offset for each patch determined from input offset map
    | Copyright 2016, Gamma Remote Sensing, v1.3 clw 22-Oct-2016
    
    Parameters
    ----------
    SLC1:
        (input) single-look complex image 1 (reference)
    SLC2:
        (input) single-look complex image 2
    SLC1_par:
        (input) SLC-1 ISP image parameter file
    SLC2_par:
        (input) SLC-2 ISP image parameter file
    OFF_par:
        (input) ISP offset/interferogram parameter file
    offs:
        (output) offset estimates in range and azimuth (fcomplex)
    ccp:
        (output) cross-correlation of each patch (0.0->1.0) (float)
    OFF_par2:
        (input) ISP offset/interferogram parameter file of the offset map to determine initial offsets (enter - for none)
    offs2:
        (input) input range and azimuth offset map to determine initial offsets (enter - for none)
    rwin:
        range patch size (range pixels, (enter - for default from offset parameter file)
    azwin:
        azimuth patch size (azimuth lines, (enter - for default from offset parameter file)
    offsets:
        (output) range and azimuth offsets and cross-correlation data in text format, enter - for no output
    n_ovr:
        SLC oversampling factor (integer 2\*\*N (1,2,4,8), enter - for default: 2)
    thres:
        cross-correlation threshold (0--> 1.)(enter - for default from offset parameter file)
    rstep:
        step in range pixels (enter - for default: rwin/2)
    azstep:
        step in azimuth pixels (enter - for default: azwin/2)
    rstart:
        offset to starting range pixel (enter - for default: 0)
    rstop:
        offset to ending range pixel (enter - for default: nr-1)
    azstart:
        offset to starting azimuth line (enter - for default: 0)
    azstop:
        offset to ending azimuth line  (enter - for default: nlines-1)
    c_ovr:
        correlation function oversampling factor (integer 2\*\*N (1,2,4,8,16) default: 4)
    pflag:
        print flag (enter - for default)
            * 0: print offset summary
            * 1: print all offset data
    
    pltflg:
        plotting flag (enter - for default)
            * 0: none (default)
            * 1: screen output
            * 2: screen output and PNG format plots
            * 3: output plots in PDF format
    
    ccs:
        (output) cross-correlation standard deviation of each patch (float)
    logpath: str or None
        a directory to write command logfiles to
    
| Intensity cross-correlation offset tracking with the initial offset for each patch determined from input offset map
| Copyright 2016, Gamma Remote Sensing, v1.3 clw 22-Oct-2016

Parameters



plotting flag (enter - for default)
0: none (default)
1: screen output
2: screen output and PNG format plots
3: output plots in PDF format

(output) cross-correlation standard deviation of each patch (float)
logpath: str or None
a directory to write command logfiles to
| Intensity cross - correlation offset tracking with the initial offset for each patch determined from input offset map | Copyright 2016 Gamma Remote Sensing v1 . 3 clw 22 - Oct - 2016 Parameters plotting flag ( enter - for default ) 0 : none ( default ) 1 : screen output 2 : screen output and PNG format plots 3 : output plots in PDF format ( output ) cross - correlation standard deviation of each patch ( float ) logpath : str or None a directory to write command logfiles to
def offset_pwr_tracking2(SLC1, SLC2, SLC1_par, SLC2_par, OFF_par, offs, ccp, OFF_par2='-', offs2='-', rwin='-', azwin='-', offsets='-', n_ovr='-', thres='-', rstep='-', azstep='-', rstart='-', rstop='-', azstart='-', azstop='-', c_ovr='-', pflag='-', pltflg='-', ccs='-', logpath=None):
    process(['/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/offset_pwr_tracking2', SLC1, SLC2, SLC1_par, SLC2_par, OFF_par, offs, ccp, OFF_par2, offs2, rwin, azwin, offsets, n_ovr, thres, rstep, azstep, rstart, rstop, azstart, azstop, c_ovr, pflag, pltflg, ccs], logpath=logpath)
def offset_pwr_tracking2 ( SLC1 , SLC2 , SLC1_par , SLC2_par , OFF_par , offs , ccp , OFF_par2 = '-' , offs2 = '-' , rwin = '-' , azwin = '-' , offsets = '-' , n_ovr = '-' , thres = '-' , rstep = '-' , azstep = '-' , rstart = '-' , rstop = '-' , azstart = '-' , azstop = '-' , c_ovr = '-' , pflag = '-' , pltflg = '-' , ccs = '-' , logpath = None ) : process ( [ '/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/offset_pwr_tracking2' , SLC1 , SLC2 , SLC1_par , SLC2_par , OFF_par , offs , ccp , OFF_par2 , offs2 , rwin , azwin , offsets , n_ovr , thres , rstep , azstep , rstart , rstop , azstart , azstop , c_ovr , pflag , pltflg , ccs ] , logpath = logpath )
| Intensity cross-correlation offset tracking with the initial offset for each patch determined from input offset map
| Copyright 2016, Gamma Remote Sensing, v1.3 clw 22-Oct-2016
| Intensity cross - correlation offset tracking with the initial offset for each patch determined from input offset map | Copyright 2016 Gamma Remote Sensing v1 . 3 clw 22 - Oct - 2016
"""
    | Intensity cross-correlation offset tracking with the initial offset for each patch determined from input offset map
    | Copyright 2016, Gamma Remote Sensing, v1.3 clw 22-Oct-2016
    
    Parameters
    ----------
    SLC1:
        (input) single-look complex image 1 (reference)
    SLC2:
        (input) single-look complex image 2
    SLC1_par:
        (input) SLC-1 ISP image parameter file
    SLC2_par:
        (input) SLC-2 ISP image parameter file
    OFF_par:
        (input) ISP offset/interferogram parameter file
    offs:
        (output) offset estimates in range and azimuth (fcomplex)
    ccp:
        (output) cross-correlation of each patch (0.0->1.0) (float)
    OFF_par2:
        (input) ISP offset/interferogram parameter file of the offset map to determine initial offsets (enter - for none)
    offs2:
        (input) input range and azimuth offset map to determine initial offsets (enter - for none)
    rwin:
        range patch size (range pixels, (enter - for default from offset parameter file)
    azwin:
        azimuth patch size (azimuth lines, (enter - for default from offset parameter file)
    offsets:
        (output) range and azimuth offsets and cross-correlation data in text format, enter - for no output
    n_ovr:
        SLC oversampling factor (integer 2\*\*N (1,2,4,8), enter - for default: 2)
    thres:
        cross-correlation threshold (0--> 1.)(enter - for default from offset parameter file)
    rstep:
        step in range pixels (enter - for default: rwin/2)
    azstep:
        step in azimuth pixels (enter - for default: azwin/2)
    rstart:
        offset to starting range pixel (enter - for default: 0)
    rstop:
        offset to ending range pixel (enter - for default: nr-1)
    azstart:
        offset to starting azimuth line (enter - for default: 0)
    azstop:
        offset to ending azimuth line  (enter - for default: nlines-1)
    c_ovr:
        correlation function oversampling factor (integer 2\*\*N (1,2,4,8,16) default: 4)
    pflag:
        print flag (enter - for default)
            * 0: print offset summary
            * 1: print all offset data
    
    pltflg:
        plotting flag (enter - for default)
            * 0: none (default)
            * 1: screen output
            * 2: screen output and PNG format plots
            * 3: output plots in PDF format
    
    ccs:
        (output) cross-correlation standard deviation of each patch (float)
    logpath: str or None
        a directory to write command logfiles to
    """
SLC1
SLC2
SLC1_par
SLC2_par
OFF_par
offs
ccp
OFF_par2
offs2
rwin
azwin
offsets
n_ovr
thres
rstep
azstep
rstart
rstop
azstart
azstop
c_ovr
pflag
pltflg
ccs
logpath