You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`pyQt5` is used with `matplotlib` to draw the figures. It needs to be installed in Linux systems to follow the examples included in tinySA_python, but is not needed on all Windows machines.
104
+
`pyQt5` is used with `matplotlib` to draw the figures. It needs to be installed on Linux systems to follow the examples included in tinySA_python, but is not needed on all Windows machines.
# truncate the data to the expected size (in case it's larger than needed)
448
448
data_bytes = data_bytes[:expected_size]
449
-
print("Data is larger than the expected size. trunacting. check data.")
449
+
print("Data is larger than the expected size. truncating. check data.")
450
450
451
451
# unpack the byte array to get pixel values (RGB565 format)
452
452
num_pixels = width * height
@@ -511,7 +511,7 @@ This example plots the last/current sweep of data from the tinySA device.
511
511
`byteArrayToNumArray(byteArr)` takes in the returned trace data and frequency
512
512
bytearrays and converts them to arrays that are then plotted using `matplotlib`
513
513
514
-
This example works because `data()` returns a trace, which is goign to be the same dimensionality of the `frequencies()` return because they have the same `RBW`
514
+
This example works because `data()` returns a trace, which is going to be the same dimensionality of the `frequencies()` return because they have the same `RBW`
# using the start and stop frequencies, and the number of points,
603
603
604
604
freq_arr = np.linspace(start, stop, pts) # note that the decimals might go out to many places.
605
-
# you can truncate this because its only used
605
+
# you can truncate this because it’s only used
606
606
# for plotting in this example
607
607
608
608
# As of the Jan. 2024 build in some data returned with SWEEP or SCAN calls there is error data.
@@ -1648,7 +1648,7 @@ Marker levels will use the selected unit Marker peak will activate the marker (i
1648
1648
***CLI Wrapper Usage:**
1649
1649
***Notes:**
1650
1650
* The tinySA Ultra can measure, store, and validate the tinySA noise figure (NF). It can also measure amplifier (AMP) NF.
1651
-
* While it is possible to set this value progamatically, until more documentation is online it is recommended to only GET the nf value.
1651
+
* While it is possible to set this value programmatically, until more documentation is online it is recommended to only GET the nf value.
1652
1652
* "The NF is the degradation in dB of the SNR after the amplifier compared to before the amplifier." - [https://tinysa.org/wiki/pmwiki.php?n=Main.NoiseFactor](https://tinysa.org/wiki/pmwiki.php?n=Main.NoiseFactor)
1653
1653
1654
1654
@@ -2219,9 +2219,9 @@ Running list of words and acronyms that get tossed around with little to no expl
2219
2219
aka “what am I looking at and did I buy the right thing?”
2220
2220
2221
2221
2222
-
**tinySA Vs. NanoVNA **: The tinySA and NanoVNA look a lot alike, and have some similar code, but they are NOT the same device. They are designed to measure different things. The tinySA is a spectrum analyzer (SA) while the v is a vector network analyzer (VNA). Both have signal generation capabilities, but the tinySA (currently) has expanded features for generating signals. This library was made for the tinySA line of devices. There might be some compatibility with the NanoVNA, but this is not currently supported or under development.
2222
+
**tinySA Vs. NanoVNA **: The tinySA and NanoVNA look a lot alike, and have some similar code, but they are NOT the same device. They are designed to measure different things. The tinySA is a spectrum analyzer (SA) while the v is a vector network analyzer (VNA). Both have signal generation capabilities, but the tinySA (currently) has expanded features for generating signals. This library was made for the tinySA line of devices. There might be some compatibility with the NanoVNA, but this is not currently supported or under development. To avoid confusion, there is a [nanoVNA_python library](https://github.com/LC-Linkous/nanoVNA_python).
2223
2223
2224
-
**SA** - This one is contect dependent. SA can mean either 'Spectrum Analyzer' (multiple frequencies) or 'Signal Analyzer' (single frequency). In the case of the tinySA it is 'Spectrum Analyzer' because multiple frequencies are being measured. A spectrum analyzer measures the magnitude of an external input signal vs frequency. It shows signal as a spectrum. The signal source does not need to be directly, physically connected to the SA, which allows for analysis of the wireless spectrum. This is the primary functionality of the tinySA, but it does have other features (such as signal generation).
2224
+
**SA** - This one is context dependent. SA can mean either 'Spectrum Analyzer' (multiple frequencies) or 'Signal Analyzer' (single frequency). In the case of the tinySA it is 'Spectrum Analyzer' because multiple frequencies are being measured. A spectrum analyzer measures the magnitude of an external input signal vs frequency. It shows signal as a spectrum. The signal source does not need to be directly physically connected to the SA, which allows for analysis of the wireless spectrum. This is the primary functionality of the tinySA, but it does have other features (such as signal generation).
2225
2225
2226
2226
**VNA** – a vector network analyzer (VNA) measures parameters such as s-parameters, impedance and reflection coefficient of a radio frequency (RF) device under test (DUT). A VNA is used to characterize the transmission and reflection properties of the DUT by generating a stimulus signal and then measuring the device's response. This can be used to characterize and measure the behavior of RF devices and individual components.
2227
2227
* ["What is a Vector Network Analyzer and How Does it Work?" - Tektronix ](https://www.tek.com/en/documents/primer/what-vector-network-analyzer-and-how-does-it-work)
@@ -2232,7 +2232,7 @@ aka “what am I looking at and did I buy the right thing?”
2232
2232
2233
2233
**SNA** – a scalar network analyzer (SNA) measures amplitude as it passes through the device. It can be used to determine gain, attenuation, or frequency response. scalar network analyzers are less expensive than VNAs because they only measure the magnitude of the signal, not the phase.
2234
2234
2235
-
**SDR** - a software defined radio (SDR) is a software (computer) controlled radio system capable of sending and receiving RF signals. This type of device uses software to control functions such as modulation, demodulation, filtering, and other signal processing tasks. Messages can be sent and received with this device.
2235
+
**SDR** - a software defined radio (SDR) is a software (computer) controlled radio system capable of sending and receiving RF signals. This type of device uses software to control functions such as modulation, demodulation, filtering, and other signal processing tasks. Messages can be sent and received with this device.
2236
2236
2237
2237
**LNA** - an electronic component designed to amplify weak incoming signals with minimal noise addition, thus improving the signal-to-noise ratio (SNR). This hardware is often attached (or built in) to the devices above. It is not a stand-alone device for signal generation or analysis.
0 commit comments