# moondb package

## Submodules

## moondb.core module

class `moondb.core.``AnalyisMethod`(name)

  Bases: `object`

class `moondb.core.``Analysis`

  Bases: `object`

  `analysisCode`
  `analyzedMaterial`
  `citation`
  `comment`
  `dataResults`
  `dataset`

class `moondb.core.``AnalysisFilter`

  Bases: `object`

  `get_results`()

    A method’s docstring with parameters and return value.

    Use all the cool Sphinx capabilities in this description, e.g. to give usage examples …

    Example

        >>> another_class.foo('', AClass())

    Parameters

      - arg1 (string) – first argument

      - arg2 (`module.AClass`) – second argument

    Returns

      something

    Return type

      string

    Raises

      TypeError

class `moondb.core.``AnalysisMethod`(code, name)

  Bases: `object`

class `moondb.core.``Analyte`(name)

  Bases: `object`

class `moondb.core.``AnalyzedMaterial`(name)

  Bases: `object`

class `moondb.core.``DataResult`

  Bases: `object`

  `laboratory`
  `methodCode`
  `methodComment`
  `methodName`
  `unit`
  `value`
  `variable`

class `moondb.core.``Landmark`(name: str, GPNFID: int, GPNFURL: str, latitude: float, longitude: float)

  Bases: `object`

  The Landmark class

  `asWkt`()

class `moondb.core.``Mission`(name)

  Bases: `object`

class `moondb.core.``SamplingTechnique`(name)

  Bases: `object`

class `moondb.core.``Specimen`(specimenCode: str, specimenName: str, parentSpecimen: str, childSpecimens: list, specimenType: str, samplingTechnique: str, mission: str, landmark: str, lunarStation: str, returnContainer: str, weight: str, pristinity: str, pristinityDate: str, description: str)

  Bases: `object`

class `moondb.core.``SpecimenType`(name)

  Bases: `object`

`moondb.core.``get_analysismethods`()

`moondb.core.``get_analytes`()

`moondb.core.``get_analyzedmaterials`()

`moondb.core.``get_landmark`(landmark_name)

`moondb.core.``get_landmarks`()

`moondb.core.``get_missions`()

`moondb.core.``get_samplingtechnique`()

`moondb.core.``get_samplingtechniques`()

`moondb.core.``get_specimens`(sc=None, mn=None, ln=None, sty=None, ste=None)

  Returns the specimen by specifying:

  Parameters

    - sc (list) – sample code string

    - mn (list) – mission name e.g. ‘Apollo 11’

  Returns

    something

  Return type

    string

  Raises

    TypeError

  sc: list

    list of specimen codes

  mn: list

    list of mission names

  ln: list

    list of landmark names

  sty: list

    list of specimen types

  ste: list

    list of sampling techniques

`moondb.core.``get_specimentypes`()

`moondb.core.``json2obj`(data)

## moondb.helpers module

## Module contents

A Sphinx example and cheat sheet.

### Comments

    .. comment This is a comment!

### Basic Syntax

italic

bold

`verbatim with special characters such as *, also useful for inline code examples`