pgb_liv\php_ms\Core\ChargedMassTrait::setMonoisotopicMassCharge
Sets the monoisotopic mass-to-charge ratio for this instance.
Signature
public function setMonoisotopicMassCharge(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