PoreMS 0.3
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • ketone
          • ketone()
    • ketone
      • ketone()
    Source

    ketone¶

    porems.generic.ketone(length, pos, name='ketone', short='KET', is_h=True)¶

    This function generates linear ketone molecules.

    Parameters:
    lengthinteger

    Number of carbon atoms

    posinteger

    Position of the oxygen atom

    namestring, optional

    Molecule name

    shortstring, optional

    Molecule short name

    is_hbool

    True if hydrogens are needed

    Returns:
    molMolecule

    Molecule object

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.