Hi, so far I have been using Stamps 4.1 without problems, without having to modify the script as suggested by @mdelgado
Currently I intend to analyze the collapse of the Miami building.
however in matlab, it gives me the error in step 2:
STAMPS: ########################################
STAMPS: ####### StaMPS/MTI Version 4.0b6 #######
STAMPS: ####### Beta version, Jun 2018 #######
STAMPS: ########################################
STAMPS: Will process patch subdirectories
STAMPS: ########################################
STAMPS: ################ Step 1 ################
STAMPS: ########################################
STAMPS: Directory is PATCH_1
PS_LOAD_INITIAL_GAMMA: Starting
PS_LOAD_INITIAL_GAMMA: Loading data into matlab…
master_master_flag =
'0'
READPARM: heading:=349.8209213366051
SETPARM: heading = 349.8209
READPARM: radar_frequency:=5.40500045433435E9
SETPARM: lambda = 0.055466
READPARM: sensor:=SENTINEL-1A
SETPARM: platform = SENTINEL-1A
READPARM: range_pixel_spacing:=2
READPARM: near_range_slc:=911404.8040852313
READPARM: sar_to_earth_center:=7072918.794501455
READPARM: earth_radius_below_sensor:=6369393.645448372
READPARM: center_range_slc:=911404.8040852313
READPARM: azimuth_lines:=1168
READPARM: prf:=1717.128973878037
READPARM: initial_baseline(TCN):=0.0000000 91.45382308959961 -37.208892822265625
READPARM: initial_baseline_rate:=0.0000000 0.32542833803041493 -0.3541218021721839
READPARM: initial_baseline(TCN):=0.0000000 -10.408884048461914 -47.74046516418457
READPARM: initial_baseline_rate:=0.0000000 0.35022359973743067 -0.34687546762464405
READPARM: initial_baseline(TCN):=0.0000000 84.73677444458008 -32.34070014953613
READPARM: initial_baseline_rate:=0.0000000 0.26148546958303 -0.3758720317397416
READPARM: initial_baseline(TCN):=0.0000000 12.35241413116455 -56.82339859008789
READPARM: initial_baseline_rate:=0.0000000 0.43819556051480646 -0.4768548395203686
READPARM: initial_baseline(TCN):=0.0000000 -22.084897994995117 -47.33003807067871
READPARM: initial_baseline_rate:=0.0000000 0.6515021667447704 -0.3846731568912075
READPARM: initial_baseline(TCN):=0.0000000 -90.50422286987305 -35.44691467285156
READPARM: initial_baseline_rate:=0.0000000 0.07825592274345519 -0.36824401574430654
READPARM: initial_baseline(TCN):=0.0000000 -17.564284324645996 -59.71782684326172
READPARM: initial_baseline_rate:=0.0000000 0.37021135908970754 -0.2894604745287609
READPARM: initial_baseline(TCN):=0.0000000 72.2780990600586 -34.059722900390625
READPARM: initial_baseline_rate:=0.0000000 0.39486068377252803 -0.22557373570606637
READPARM: initial_baseline(TCN):=0.0000000 -89.05400466918945 -27.280750274658203
READPARM: initial_baseline_rate:=0.0000000 0.19819370478205442 -0.13926321181952853
READPARM: initial_baseline(TCN):=0.0000000 -52.01198387145996 -12.436780452728271
READPARM: initial_baseline_rate:=0.0000000 -0.027026414288461968 -0.10388330613650716
READPARM: initial_baseline(TCN):=0.0000000 -39.39015579223633 -6.584448337554932
READPARM: initial_baseline_rate:=0.0000000 0.2649093766891487 -0.08037341283490322
READPARM: initial_baseline(TCN):=0.0000000 121.29307174682617 -3.4494776725769043
READPARM: initial_baseline_rate:=0.0000000 0.502506078003914 -0.052532417368120796
READPARM: initial_baseline(TCN):=0.0000000 36.85142135620117 -0.9310721158981323
READPARM: initial_baseline_rate:=0.0000000 0.32860527478789564 -0.029999179536131057
READPARM: initial_baseline(TCN):=0.0000000 49.73577690124512 -0.4019928425550461
READPARM: initial_baseline_rate:=0.0000000 -0.0031488719451354444 7.591970252079148E-4
READPARM: initial_baseline(TCN):=0.0000000 19.475311279296875 5.642600059509277
READPARM: initial_baseline_rate:=0.0000000 0.2894997652660442 -0.40103213600724535
READPARM: initial_baseline(TCN):=0.0000000 19.62454605102539 4.170413255691528
READPARM: initial_baseline_rate:=0.0000000 0.3500748562320009 -0.32328488798754756
READPARM: initial_baseline(TCN):=0.0000000 21.52863597869873 -0.11720381677150726
READPARM: initial_baseline_rate:=0.0000000 -0.02989744459137958 -0.11916950780064842
READPARM: initial_baseline(TCN):=0.0000000 27.93196392059326 0.4520964026451111
READPARM: initial_baseline_rate:=0.0000000 -0.23097621208252425 -0.1920434765616732
READPARM: initial_baseline(TCN):=0.0000000 69.47371292114258 -2.612198233604431
READPARM: initial_baseline_rate:=0.0000000 -0.07239598992576998 -0.277109501425777
Rotating by -169.8209 degrees
PS_LOAD_INITIAL_GAMMA: Finished
STAMPS: Finished
stamps(2,2)
STAMPS: ########################################
STAMPS: ####### StaMPS/MTI Version 4.0b6 #######
STAMPS: ####### Beta version, Jun 2018 #######
STAMPS: ########################################
STAMPS: Will process patch subdirectories
psver currently: 1
psver now set to: 1
STAMPS: ########################################
STAMPS: ################ Step 2 ################
STAMPS: ########################################
STAMPS: Directory is PATCH_1
PS_EST_GAMMA_QUICK: Starting
PS_EST_GAMMA_QUICK: Estimating gamma for candidate pixels
GETPARM: filter_grid_size=40
GETPARM: filter_weighting=‘P-square’
GETPARM: clap_win=16
GETPARM: clap_low_pass_wavelength=800
GETPARM: clap_alpha=1
GETPARM: clap_beta=0.3
GETPARM: max_topo_err=10
GETPARM: lambda=0.0554658
GETPARM: gamma_change_convergence=0.005
GETPARM: gamma_max_iterations=3
GETPARM: small_baseline_flag=‘n’
Found look angle file
PS_EST_GAMMA_QUICK: n_trial_wraps=0.093774
PS_EST_GAMMA_QUICK: Initialising random distribution…
PS_EST_GAMMA_QUICK: 2173058 PS candidates to process
PS_EST_GAMMA_QUICK: iteration #1
PS_EST_GAMMA_QUICK: Calculating patch phases…
Index in position 1 is invalid. Array indices must be positive integers or logical values.
Error in ps_est_gamma_quick (line 221)
ph_grid(grid_ij(i,1),grid_ij(i,2),:)=ph_grid(grid_ij(i,1),grid_ij(i,2),:)+shiftdim(ph_weight(i,:),-1);
Error in stamps (line 326)
ps_est_gamma_quick(est_gamma_parm);
How can i solve it? or what is this problem due to?