isotopylog.EDistribution.append

EDistribution.append(new_data)

Method for appending new data onto an existing EDistribution. New data can be either a single kDistribution or a different EDistribution instance.

Parameters:new_data (isotopylog.kDistribution or isotopylog.EDistribution) – The kDistribution or EDistribution object containing the new data to be added
Raises:TypeError – If attempting to add new_data that is not an instance of either isotopylog.kDistribution or isotopylog.EDistribution.

Examples

Adding an existing k distribution, kd, to an existing E distribution, ed:

ed.append(kd)

Adding an existing E distribution, ed2, to a different E distribution, ed1, of the same model type:

ed1.append(ed2)