Components support s-parameter files that can be used to automatically update the Gain value as you change the temperature and frequency settings at the Source.
Adding S-Parameter Files
Find the component you wish to add an s-parameter file to. Click on Gain, to open up the edit modal.
Click the enable/disable toggle on the s-parameters section.
Now you can either click the “S-Parameter File” box to open up the file picker, or drag and drop a file onto the box. Either way will add your file to the component:
Repeat this process for as many s-parameter files as you need. For each file you can specify the temperature for which it is valid.
You’ll notice that as you upload files the value of Gain at the top of the modal will automatically update.
When you’ve added all the files you need click “SAVE”.
Using S-Parameter Files
When you change the frequency or temperature at a Source component all downstream components will re-calculate their Gain values using the s-parameter files you provide.
If your choice of temperature and frequency at the source exactly match one of the temperature and data points in a file, then that value of gain will be used.
If your choice of temperature is greater than the highest temperature you specified, then the s-parameter file at that highest temperature will be used.
If your choice of temperature is smaller than the lowest temperature you specified, then the s-parameter file at that lowest temperature will be used.
Similarly, if the frequency you choose is out of the range of measurements in your s-parameter files then the Gain will be snapped to the closest in-range value.
In all other cases the value will be determined by linearly interpolating between the closest data points.