Package org.bmdrc.nmr

Examples of org.bmdrc.nmr.Nmr1dUnitList.addPeak()


        theFileReader.readLine();
        theFileReader.readLine();

        while ((theFileInformationByLine = theFileReader.readLine()) != null) {
            thePeakList.addPeak(this.__getPeakInACDFormat(theFileInformationByLine));
        }

        return thePeakList;
    }
View Full Code Here


        String[] theSplitedPeakInformation = thePeakInformation.split(this.CRITERION_DIVIDED_PEAK_INFORMATION);

        theSplitedPeakInformation[this.ANNOTATED_ATOM_NUMBER_INDEX] =
                this.__getCorrectAnnotatedAtomNumber(theMolecule, theSplitedPeakInformation[this.ANNOTATED_ATOM_NUMBER_INDEX], theJugmentOfCarbonPeak);

        thePeakList.addPeak(this.__generatePeakInformation(theSplitedPeakInformation, theExperimentEnvironmentList));

        return thePeakList;
    }

    private String __getCorrectAnnotatedAtomNumber(IMolecule theMolecule, String theAnnotatedAtomNumber, boolean theJugmentOfCarbonPeak) {
View Full Code Here

                thePeak.setSolvent(theSolventList.get(theSolventIndexList.indexOf(theSpectrumNumber)));
            } catch (ArrayIndexOutOfBoundsException e) {
                e.printStackTrace();
                System.err.println(theKey + " " + theSpectrumNumber + " " + theMolecule.getProperty(this.KEY_VALUE_OF_NMRSHIFTDB2_ID).toString());
            }
            thePeakList.addPeak(thePeak);
        }

        return thePeakList;
    }
View Full Code Here

        for (int di = 0, dEnd = this.getPeakDistributionList().size(); di < dEnd; di++) {
            if (this.getPeakDistributionList().get(di) <= theTolerence && this.getPeakDistributionList().get(di) != 0) {
                Nmr1dUnit theChemicalShiftRange = this.__setChemicalShiftRange(di);

                theChemicalShiftRangeList.addPeak(theChemicalShiftRange);
            }
        }

        return theChemicalShiftRangeList;
    }
View Full Code Here

                thePeak.setSolvent(theSolventList.get(theSolventIndexList.indexOf(theSpectrumNumber)));
            } catch (ArrayIndexOutOfBoundsException e) {
                e.printStackTrace();
                System.err.println(theKey + " " + theSpectrumNumber + " " + theMolecule.getProperty(this.KEY_VALUE_OF_NMRSHIFTDB2_ID).toString());
            }
            thePeakList.addPeak(thePeak);
        }

        return thePeakList;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.