sums_to_record#

fedcausal.flower.sums_to_record(stats)[source]#

Pack a site’s moment sums into an ArrayRecord.

Parameters:
statsMomentSums

Output of fedcausal.lingam.cumulants.moment_sums().

Returns:
ArrayRecord

The mean and the moment-sum matrices in a fixed order, three of them for third-order sums and five for fourth-order; see record_to_sums().