pgb_liv\php_ms\Core\ChargedMassTrait::setAverageMassCharge
Sets the average mass-to-charge ratio for this instance
Signature
public function setAverageMassCharge(float
$massCharge,
int
$charge )
Parameters
$massCharge— float
The mass-to-charge ratio to set to$charge— int
The charge associated with the $massCharge
Errors/Exceptions
-
InvalidArgumentException - If $mz is not a valid floating point value