Dear David,
When I run the aps_powerlaw(3,3), the following error came out. My matlab version is Matlab 2012. The physical memory of my computer is 8 GB. In my view, it is big enough. After running the PS processing with StaMPS, there is just 7112 PS points left from 10 SAR images. The value of powerlaw_spatial_bands in parms_aps.mat is [2000, 4000]. Do you know how to solve this problem?
Thank you very much!
>> aps_powerlaw(3,3)
**********************************************************************************************************
D.P.S. Bekaert, A.J. Hooper and T.J. Wright,
A spatially-variable power-law tropospheric correction technique for InSAR data, JGR, doi:10.1029/2014JB011558
**********************************************************************************************************
Step 3: Bandfiltering of the regular grid and converting back to a local grid
***Bandfiltering***
Using butterworth filter degree: 3
Normalise the butterworth filter.
norm_filter_flag =
0
n_degree_butterworth =
10
Perform mirroring to reduce filtering effects on edges
By half the maximum filter length at each edge.
??? Out of memory. Type HELP MEMORY for your options.
Error in ==> bandfiltering at 280
z_grid_new(:,:,k) = padarray(z_grid(:,:,k),[n_mirror_y
n_mirror_x],'symmetric');
Error in ==> aps_powerlaw at 463
bandfiltering(Z_regular,xy_res(1),xy_res(2),spatial_bands,save_path,ifg_based_correction)