Hello,
I will have many .s2p files from farfield antenna measurements. I should read all data and make some calculations. Read files from folder and sorting is done.
Now:
THETA is in range from 0-180, PHI: 0-350. Both THETA and PHI can start with value different from 0 and end at value different from 180 or 350. Both THETA and PHI can have different step value, e.g. 1, 2, 3, 4, 5, 6, 10.
My problem is to check if all files in series are present.
First to check what is general step value;
Second to check if all files to read are present, e.g. I have THETA from 50-100 and PHI from 0-350. Now must be check if for THETA=50 all PHI from 0-350 with proper step are present. Next THETA=51 (means step=1), check if PHI 0-350. Next THETA=52 (means step=1), check if PHI 0-350. Next THETA=53, PHI 1-350 - error, no THETA=53_PHI=0 file.
I started, but don't know how to continue.