tools.CoefficientAccessor#
- class bartorch.tools.CoefficientAccessor#
Bases:
ProtocolSource of a coefficient table that is not a file.
An object with a
read_coefficients()method returning the table’s text or bytes, for a table held by a scanner or a service.GradientCoefficients.from_file()andGradunwarpaccept one wherever they accept a path; an optionalnameattribute labels it.- read_coefficients()#
The contents of the coefficient table, as text or UTF-8 bytes.