| Procedure | Location | Procedure Type | Description |
|---|---|---|---|
| acf_theo | script | Subroutine | Function that returns the theoretical acf PARAM%imp_acf. |
| acf_wiener | func_acf | Subroutine | Function that returns the acf of an array. |
| add_nois | script | Subroutine | Function that returns the starting surface of random heights |
| add_tang | skku_profiles | Function | Function that adds to the series mean the border integrals as explained in the docs |
| alloc_tabs | script | Subroutine | Function that allocates arrays in global variable PARAM |
| apod2 | func_acf | Subroutine | Function that returns an apodized array. |
| apod_acf | script | Subroutine | Function that apodize the acf to prevent spectral leakage |
| apod_sur | script | Subroutine | Function that apodize the reference surface for acf calculus purposes |
| autocov_impo | func_acf | Function | Function that returns |
| build_heights | skku_profiles | Subroutine | Function that returns a set of heights that matches desired statistical moments. |
| calc_acf | script | Subroutine | Function that returns the autocorrelation function of a surface in PARAM%acf_surf |
| calc_ffh | script | Subroutine | Function that returns … |
| calc_imp_acf | func_acf | Subroutine | Function that returns the theoretical autocorrelation function in an array. |
| calc_ord | script | Subroutine | Function that returns the vector PARAM%order that contains the heights order. |
| calc_res_acf | script | Subroutine | Function that returns crit_acf the mean absolute difference between theoretical and calculated acfs, above z (usually 0.2 as recommended by iso 25178) |
| calc_z_f | script | Subroutine | Function that returns PARAM%surf, the surface made of heights with the required statistical moments, in the right order. |
| calc_z_i | script | Subroutine | Function that returns the starting surface of random heights |
| calculs_skku_exp3 | skku_profiles | Subroutine | Function to calculate the skewness and kurtosis of an exponential series. |
| calculs_skku_tan | skku_profiles | Subroutine | Function to calculate the skewness and kurtosis of a tangent series |
| cost_func_skku | skku_profiles | Subroutine | Quantify de distance between desired moments and calculated moments |
| def_size | script | Subroutine | Geometrical characteristics of the numerical surface |
| digi_fil | script | Subroutine | Function that applies the digital filter to the random heights |
| end_loop | script | Subroutine | The loop ends here |
| end_scri | script | Subroutine | End of script |
| fitness_skku_anal | skku_profiles | Function | Generic cost function: difference between the imposed statistical moments and those obtained. The optimization problem must be turned into a maximization problem (as often in the optimization routines). |
| make_msk | script | Subroutine | Function that reads a digital surf file and turns it into a mask |
| make_scratches | script | Subroutine | This subroutine initializes a real matrix |
| make_tex | script | Subroutine | Function that creates a periodic macro-texture: knowing the FFT of an analytical texture |
| nb_procs | script | Subroutine | Number of concurrent threads |
| pikaia_skku_solver | skku_profiles | Subroutine | This is a refactoring of the PIKAIA unconstrained optimization code from the High Altitude Observatory. The original code is public domain and was written by Paul Charbonneau & Barry Knapp. |
| plt__acf | script | Subroutine | Function that calculates the mean absolute difference between the desired Acf and the one obtained. However, the important zone where both should match is above the cut - where the correlation lengths are determined. |
| prg_surf | main | Subroutine | Main function… |
| profil_theo_trie_1D | skku_profiles | Subroutine | Function that generates the heights when the function limits have been determined. |
| read_img | script | Subroutine | Function that reads a digital surf file and returns the surface in PARAM%surf |
| read_job | script | Subroutine | Function that reads a script file. Keywords are identified and corresponding actions are triggered. |
| repr_img | script | Subroutine | Function that set parameters for image reproduction |
| save_img | script | Subroutine | Function that save an array tab as a digital surf file. |
| smooth__ | script | Subroutine | Function that applies a low-pass filter to the surface PARAM%surf |
| spct_sur | script | Subroutine | Returns the default surface spectrum |
| sta_loop | script | Subroutine | Starting the loop |
| sta_scri | script | Subroutine | Start the script reading |
| sta_theo | script | Subroutine | Required statistical moments |
| stat_sur | script | Subroutine | Define surface statistical moments as reference |
| sub_surf | script | Subroutine | Function that returns the best subsurface from the final surface. |
| surface_analysis | analyses | Subroutine | The function analyses determinates ISO 25178 parameters of the current surface. |
| tang | skku_profiles | Function | Profile function based on the tangent function |