pgb_liv\php_ms\Utility\Fragment\AbstractFragment::getChargedIon
Charges the mass to the specified charge
Signature
protected function getChargedIon(double
$mass,
int
$charge )
Parameters
$mass
—
object
The neutral mass to charge
$charge
—
int
The integer charge value to charge too
Returns
- double
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 8
- Passed: 8 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsA
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsB
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsC
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsX
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsY
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetIonsZ
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetModifiedIonsB
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\FragmentTest::testObjectCanGetModifiedIonsY