Replicate Curve Analysis
GX-TXT DEV112 P011-bis
Compare replicate curves and check consensus, uncertainty and published results for the examples in the guide.
Prepare repetitions of canonical curves
Use Session → New Session → Generate Session → Replicate Curve Analysis and create a Session Standalone. In Configuration → Modules enables the module of the same name. The Generator publishes curve_family.primary and prepares in raw three calibration CSVs, the combined CSV and a list of the sources. In Dataset → Canonical table find Vg1_V (grid voltage), Ib_mA (family parameter), Ig1_mA (measured current) and replicate_id. The rows of the files are shuffled: the explicit identifiers let you group them by curve.


Bind abscissa, family, ordinate and replicate
In Analysis → Replicate Curve Analysis choose curve_family.primary in the row primary of Dataset sources. Leave Include primary canonical dataset as a source on to include that Dataset among the observations. In Input variable bindings assign X to primary.Vg1_V, Family to primary.Ib_mA, Y to primary.Ig1_mA and the replicate identifier to primary.replicate_id. If you change the Dataset assigned to a role, preselect auto and then reselect each column of the new Dataset. Identical names in the two Datasets can keep a binding to the previous source, and the preflight rejects it. Check the bindings in the plan and in the report.
To work with separate sources import the three files raw/2D21-cal1-tagged-shuffled.csv, raw/2D21-cal2-tagged-shuffled.csv and raw/2D21-cal3-tagged-shuffled.csv from the tab Acquisition with Generic CSV, ID curve.cal1, curve.cal2, curve.cal3 and contract curve_family.table. Check schema and units after the import. In Dataset sources assign the first to primary and add the other two rows with + Add. Remove removes an added source. You can exclude primary when it contains rows already present in the other sources. Keep a single copy of each observation.
With the binding reselected the three-source run completes and records all four figures. The profile contains 963 coordinates, with numerical components available in 578. Disable the primary source to keep curve.cal2 and curve.cal3: the report gives two, with 648 coordinates and finite components in 387. Check the availability per coordinate in the profiles.

Choose the interpretation of the replicates and the X grids
- Control
- Repeated-data handling
- Guided choice
automaticuses the explicit IDs when available and interprets repeated points without ID as a local cloud when relevant.one_curve_per_source_familyis the choice for one curve per source–family combination.legacy_ordered_rowsconcerns legacy files in which the resets of X delimit ordered curves. With an identifier column explicitly bound, the test report kept using the IDs to interpret the rows. To exercise the resets you need an ordered input without a replicate binding.
- Control
- Sampling assumption for labelled curves
- Guided choice
unspecifiedleaves the assumption needed to infer the SEM undetermined. Useindependent_tracesonly if the contributing curves are independent and comparable. The selection does not check experimental independence, and the clouds do not provide a trace SEM.
- Control
- Fit CSV point grid and Fit CSV points per family
- Guided choice
reference_gridkeeps the grid of the reference curve selected by the module within the common domain.uniform_griduses the requested number of points per family, 73 at startup. The number is also used as a fallback for unlabeled clouds.
- Control
- Internal statistical X grid and Internal linspace points
- Guided choice
pooled_xstarts from the combination of the observed abscissas.linspaceuses a uniform grid, with 200 points initially. The statistical grid is used for mean, dispersion and profiles. The CSV grid can be different.
- Control
- Consensus center written to fit-ready CSV and Interpolation method
- Guided choice
meanandmedianselect the center written to the CSV for the fit.linearis the available interpolation. The comparison takes place over the common domain, where the admitted curves can contribute without extrapolation.
- Control
- Minimum points per accepted trace
- Guided choice
- Default 5. Set 6 in the alternative exercise. Traces that are too short are excluded. Check the counts per trace and family before interpreting the consensus curves.
- Control
- Legacy x-reset threshold / typical X step and Legacy x-reset threshold / current X span
- Guided choice
- Initial factors 5 and 0.35. In legacy mode the reset threshold uses the maximum of the two scales, typical step and current X span, multiplied by the factors. These parameters apply to segmentation by row order. Reset restores the initial value of each.
To reproduce the legacy segmentation import the synthetic CSV with three ordered ramps (ZIP) with ID curve.legacy and contract curve_family.table. Remove the added sources and assign tempo_s, famiglia_mA and lettura_V to X, family and Y. Leave the replicate binding on auto for the Dataset without that column. With legacy_ordered_rows, minimum 5, thresholds 5 and 0.35 and uniform_grid at 12 points, the jump from X=11 to X=0 delimits the three series. At X=0 the profile has n=3 and mean 0.05 V. With automatic the same input becomes a local cloud and the trace SEM is absent.
Compute the consensus and read which uncertainties are available
- For an exercise with numerical output use the Generator’s primary Dataset with explicit identifiers. Select
one_curve_per_source_family,independent_traces, centermedian,uniform_gridat 41 points andlinspaceat 100 points. Use minimum 6 and Disable all to disable automatic figure generation. Start with Run / recalculate now and Run enabled analyses. Look at Results and check the effective interpretation of the replicates in the report. - Open
curve.replicate.profilesfor the X/family values with n, center and dispersion measures. Incurve.replicate.tracescheck the admitted traces and incurve.replicate.family_summarythe summary per family. In the 41-points-per-family case the CSVconsensus_for_fitting.csvhas 287 data rows for seven families. The statistical profile uses a separate grid of 700 rows. The CSV can be used for a later fit after checking units and domain. - In
replicate_analysis_summary.txtcheck number of sources, grouping type, assumptions, grid and availability of the metrics.ncounts the aligned curves. The sample deviation describes the dispersion; the conditional SEM is the deviation divided by √n when the independence declaration is appropriate. A ±SEM or ±deviation band is descriptive and does not automatically represent a confidence or prediction interval.
The components sigma_within and sigma_between distinguish within-source and between-source dispersion. In labeled data the analysis uses the moments of the variances, takes groups of different sizes into account and reports when a negative between-source estimate is clipped to zero. sigma_total combines the available components in quadrature. Read the within-source degrees of freedom, the number of sources and the availability state before attributing a physical cause to the dispersion. Sources with a single curve or a single Dataset can leave components that cannot be estimated.


Enable the plots compatible with the data
In Graphs offered by module choose the plots one at a time or use Enable all when the results allow all the figures. Replicate overlay overlays the curves. Consensus curve with uncertainty shows the center and the available bands. Within-source and between-source uncertainty shows the profiles of the components. Family uncertainty summary summarizes their values by family. Configure… opens the presentation of a figure; Module graphics… manages the common preferences. In Plots select the figure and use Graph → Open PNG 1:1.
For each plot open Configure…. Plot title and the labels let you make group and scale explicit. The value auto uses the bound variable when the field provides for it. In the first three plots give the family values to show, separated by semicolons, or leave empty for all families. The view filter leaves the numerical results available.
- In the overlay Trace marker size adjusts the symbols. Legend content
source_replicateshows the provenance of the replicates,familyfavors the group andnoneomits the legend. - In the consensus use Uncertainty band on
y_stdfor the dispersion,y_semfor the conditional SEM,sigma_totalfor the combined dispersion when it can be estimated, ornonefor the consensus only. - In the summary by family Summary statistic across X select
rms,meanormaxto summarize the profiles along X. RMS emphasizes larger values compared with the mean; the maximum shows the peak.
In Module graphics… you can enable the override of the module’s global defaults, for example size and DPI, fonts for axes and titles, or legend. Leave empty the fields that should inherit the general preferences.


With the Generator’s primary input, enabling the four figures produced overlay and consensus, then the GUI reported a process error. The state of the two component figures showed unavailable because there were no compatible finite series. If an error and partial results appear in Results, check the report and the state of each figure. To redo the numerical computation use Disable all and re-enable only the figures useful for the adopted configuration.

