Implicit models, rational models, and complex response

Three independent exercises for declaring domain, branch and units: two Previews completed and a Padé case to retry after the fix.

GX-TXT DEV112 P011-bis

Load the data for all three cases

The CSV files are synthetic, with values reproducible from the formula of each exercise. Import each one into a separate Session from Acquisition → Generic CSV with the table.generic contract. Use Variables before Import current to assign units. In Curve Fitter choose the X/Y columns, press Add Dataset curve and keep all points and the source domain.

Declare a rational Padé model

The 31 rows are generated by U(f) = (1.2 + 0.3f)/(1 + 0.08f) between 0 and 15 Hz. With the Y = f(X) orientation and the rational model, open Fit → Models and fitting → Rational / Padé model…. The denominator has constant term 1.

Numerator degree / Denominator degree
Polynomial degrees. Set 1 and 1, then use Apply degrees to coefficient controls if you changed them. The rows identify a0, a1 and b1.
Declared predictor minimum / maximum
Declared physical domain. Use 0 and 15 Hz. Allow nontraining evaluation beyond fitted observations after checking the whole interval allows use outside the observations if the declaration permits it. Leave it off for the exercise.
Relative denominator separation tolerance
Required relative distance of the denominator from the problematic value. The test uses 1e-10.
Unit, Initial, Lower, Upper, Fixed
Fill in the free parameters a0 with 1.1 V and limits 0.1 – 3, a1 with 0.25 V·s and limits 0.001 – 0.9, b1 with 0.065 s and limits 0.001 – 0.2. In Unit you can write V, V*s, s. Keep Fixed off. The denominator stays at least 1 over the domain and for all allowed coefficients.

Valid rational declaration returned Valid formula. Apply rational model closed the dialog. Cancel discards the changes. Two runs of Preview fit in P011-bis return Too many rational pole diagnostics. Checking the solver poles and the estimates must be repeated after the fix. The coefficients 1.2, 0.3 and 0.08 are the values used to generate the data.

Declaration Padé with 1 and 1 degrees, defined domain and finite limits for the three coefficients.
Padé declaration with degrees 1 and 1, a defined domain and finite limits for the three coefficients.
Second arrest observed at Preview fit for the Padé case.
Second stop observed at Preview fit for the Padé case.

Fit the positive branch of a circle

The 21 rows follow the positive root of 9-x*x on −2.5…2.5 mm. Select the implicit model and open Implicit equation and branch…. Use x*x+y*y-r*r, r parameter in mm, 2.9 initial value, 2.6 and 3.6 limits. Remove the unneeded sample rows with Remove. Add parameter creates rows for the formula symbols.

  • Equation residual unit is mm^2. Equation residual mode algebraic uses the equation value. normalized_algebraic uses the declared physical reference in Physical reference value in equation units. The reference defines the scale of the equation.
  • Response bracket minimum / maximum at 0 and 4 mm enclose the positive branch. Independent domain minimum / maximum at −2.5 and 2.5 mm bound X.
  • I declare a continuous response branch in this bracket and domain : tick it after checking that the minimum radius remains greater than the maximum |X| and that the positive root stays within the bracket. Without this check, the GUI asks you to declare a continuous branch.

Click Valid units and formula, then Apply formula and Preview fit. The test returned r = 3 mm and an equation RMSE of about 1.38 × 10⁻¹⁵ mm². The units indicate that the residual is measured on the quadratic equation. To view the curve, use the branch representation in the Fit & Plot tab.

Declared positive copper and implied formula validated.
Declared positive branch and validated implicit formula.
estimate r = 3 mm in Parameters & Statistics.
Estimate r = 3 mm in Parameters & Statistics.

Fit the real and imaginary parts together

The 40 rows represent H(f)=a/(1 +j f/f r) at frequencies from 1 to 40 Hz. Choose the model complex_response model and open Joint complex responses…. Use Frequency symbol f. In the first Physical channel leave Include active, ID channel1 and Physical unit V. For channels 2 and 3, the checkbox adds a pair of variables to the fit with shared parameters. In this test they remain excluded.

  • Real expression a/(1+(f/fr)^2) and Imaginary expression -a*(f/fr)/(1+(f/fr)^2).
  • Input cartesian with real_v and imag_v (in imported CSV v0002 and v0003). polar_linear uses linear magnitude and phase. polar_db20 converts the magnitude to db20 input reference. The phase uses Phase unit deg or rad.
  • Displayed channel ID identifies the channel shown. Source Y projection chooses real, imaginary, magnitude or db20. For db20 set the display reference in the channel unit.
  • Absolute Cartesian covariance with Shared matrix entries below uses a shared matrix in real, imaginary order. Enter 0.0001 0; 0 0.0001 in V². Separate terms with spaces and rows with semicolons. Confirm the order and units. The Gaussian innovations checkbox declares the assumption used for conditional intervals and is cleared in this example.
  • a free parameter in V, initial value 0.9 and limits 0.2 – 3. fr in Hz, initial value 7 and limits 2 – 20.

Choose Validate complex model, Apply complex model and Preview fit. The test returns a ≈ 1 and fr ≈ 8 Hz. Read the terms of the joint response in the report and use the projection to inspect the curve. The single physical RMSE field is reported as not applicable in the tested joint calculation.

Declaration of the real and imaginary couple with a common physical frequency.
Declaration of the real and imaginary pair with a common physical frequency.
Joint fit estimates at about 1 V and characteristic frequency at about 8 Hz.
Joint fit estimates of about 1 V and a characteristic frequency of about 8 Hz.