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.

Selection of Replicate Curve Analysis in Generate Session before the Session is created.
Selection of Replicate Curve Analysis in Generate Session before the Session is created.
Physical columns and replicate identifier in the canonical Dataset.
Physical columns and replicate identifier in the canonical Dataset.

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.

Three canonical Datasets registered as sources of the same analysis.
Three canonical Datasets registered as sources of the same analysis.

Choose the interpretation of the replicates and the X grids

Control
Repeated-data handling
Guided choice
automatic uses the explicit IDs when available and interprets repeated points without ID as a local cloud when relevant. one_curve_per_source_family is the choice for one curve per source–family combination. legacy_ordered_rows concerns 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
unspecified leaves the assumption needed to infer the SEM undetermined. Use independent_traces only 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_grid keeps the grid of the reference curve selected by the module within the common domain. uniform_grid uses 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_x starts from the combination of the observed abscissas. linspace uses 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
mean and median select the center written to the CSV for the fit. linear is 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

  1. For an exercise with numerical output use the Generator’s primary Dataset with explicit identifiers. Select one_curve_per_source_family, independent_traces, center median, uniform_grid at 41 points and linspace at 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.
  2. Open curve.replicate.profiles for the X/family values with n, center and dispersion measures. In curve.replicate.traces check the admitted traces and in curve.replicate.family_summary the summary per family. In the 41-points-per-family case the CSV consensus_for_fitting.csv has 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.
  3. In replicate_analysis_summary.txt check number of sources, grouping type, assumptions, grid and availability of the metrics. n counts 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.

Consensus configuration on 41 points per family and a 100-points-per-family profile.
Consensus configuration on 41 points per family and a 100-points-per-family profile.
Numerical results published after the run with plots disabled.
Numerical results published after the run with plots disabled.

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_replicate shows the provenance of the replicates, family favors the group and none omits the legend.
  • In the consensus use Uncertainty band on y_std for the dispersion, y_sem for the conditional SEM, sigma_total for the combined dispersion when it can be estimated, or none for the consensus only.
  • In the summary by family Summary statistic across X select rms, mean or max to 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.

Options of the replicate overlay, with legend and family selection.
Options of the replicate overlay, with legend and family selection.
The summary offers three ways of aggregating the profile along X.
The summary offers three ways of aggregating the profile along X.

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.

Four figures available after the three-source analysis, with the overlay selected.
Four figures available after the three-source analysis, with the overlay selected.
Overlay and consensus are registered in Plots in the first single-source configuration.
Overlay and consensus are registered in Plots in the first single-source configuration.