INNER CODE UNIT · Python

get_spectrum

pymzml/pymzML · pymzml/run.py:467

    def get_spectrum(self, identifier):
        """
        Access spectrum with the given identifier.

        Arguments:
            identifier (str or int): Either a string identifier or an index (0-based)
                to access spectra in order.

        Returns:
            spectrum (Spectrum): spectrum object with the given identifier

        Note:
            This method provides the same functionality as using the indexing syntax
            (e.g., run[0]), but with a more explicit method name.
        """
        return self[identifier]

    def get_chromatogram(self, identifier):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…