Bridge.LegacyRgCurve

Contents

Bridge.LegacyRgCurve#

Bridge.LegacyRgCurve.py

class LegacyRgCurve(ecurve, rgcurve)#

Bases: RgCurve

A class representing a legacy Rg curve.

Inherits from the legacy molass_legacy.RgProcess.RgCurve.RgCurve but bypasses super().__init__(). The following parent attributes that would normally be set by the parent __init__ must therefore be initialized manually here — any future extension of this class or new subclass of RgCurve must do the same:

  • self.ecurve — required by add_exclspline()

  • self.excl_spline — checked by get_rgs_from_trs() (lazy build)

  • self.excl_info — set by add_exclspline()

  • self.X — used by get_probabilistic_data()

Initializes the LegacyRgCurve with the given Rg values.

Parameters:

rg_values (list of float) – The Rg values for each component.