foxes.core.PartialWakesModel.check_wmodel(wmodel, error=True)[source]

Checks the wake model type

Parameters

wmodel: foxes.core.WakeModel

The wake model to be tested

error: bool

Flag for raising TypeError

Returns

chk: bool

True if wake model is compatible