安诺尼实时频谱分析仪如何使用MATLAB进行二次研发(4)
发布时间:2022/10/27 16:12:005、安诺尼实时频谱分析仪二次研发的频谱数据(Spectrum Data)示例
Spectrum data packets will look like this:{"startTime" : 1501163970.1396854,"endTime" : 1501163970.140799,"unit" : "dbm""payload" : "spectra","startFrequency" : 2400250000, "endFrequency" : 2487750000,"minPower" : -95,"maxPower" : 5,"antenna" : {"name" : "Block_IsoLOG_0""latitude" : 50.13646697998047,"longitude" : 6.320250034332275,"azimuth" : -2.748893976211548,"declination" : 0,},"sampleDepth" : 1,"sampleSize" : 448,"samples" : [[ -90.05, -90.05, ... , -81.01 ],...[ -81.65, -78.05, ... , -90.01 ]],} IQ DataIQ Samples are transmitted as a flat array of alternating I and Q values.{…"payload" : "iq","unit" : "generic""minPower" : -2,"maxPower" : 2,"sampleDepth" : 1,"sampleSize" : 2,"samples": [5.12e-05, 0.00132,0.000885, 0.00124,0.000566, 0.000654,-0.000615, 2.35e-05,0.00042, -0.000276,-0.000723, -0.000343,-0.000672, 0.000195,0.000843, -0.000228,...]}Data that is captured from a source that is not calibrated will have a unit type of generic. The used valuerange will be given by the min and max power values. Histogram DataHistogram data transfers percentages of bin usage. The sample size is like the spectrum or categorydata, but the sample depth is used to separate the bins. The sample data is a 2D array with thedimensions sample size and sample depth packed into a flat 1D JS array.{"startTime" : 1506933004.0587604,"endTime" : 1506933004.0911448,"payload" : "histogram","unit" : "percentage""startFrequency" : 2402250128,"endFrequency" : 2489750128,"maxPower" : 5,"minPower" : -165,"sampleDepth" : 256,"sampleSize" : 896,"samples": [[ 0.074, 0.0787, ... 0.0893 ]],} Channel power or other category dataThe samples in a category ordered packet will have one measurement per category. The categories arenamed and may cover an optional frequency range.nameName of the category itemstartFrequencyStart of a frequency rangeendFrequencyEnd of a frequency range{…"categories" : [{"name" : "Wifi Channel 1","startFrequency" : 2401000000"endFrequency" : 2423000000,},...],…} Antenna DataData that was captured using an antenna with e.g. location or directional information will have anantenna specification field in the packet.nameName of the antennalatitudeLatitude of the antennalongitudeLongitude of the antennaazimuthAzimuth of a directional antennadeclinationDeclination of a directional antenna