"""test_moose_attribs.py: 

"""

__author__ = "Dilawar Singh"
__copyright__ = "Copyright 2017-, Dilawar Singh"
__version__ = "1.0.0"
__maintainer__ = "Dilawar Singh"
__email__ = "*****@*****.**"
__status__ = "Development"

import sys
import os
import moose

print(moose.about())

attribs = [
    "AdExIF",
    "AdThreshIF",
    "Adaptor",
    "Annotator",
    "Arith",
    "BufPool",
    "CaConc",
    "CaConcBase",
    "ChanBase",
    "ChemCompt",
    "Cinfo",
    "Clock",
    "Compartment",
Beispiel #2
0
__author__ = "Dilawar Singh"
__copyright__ = "Copyright 2019-, Dilawar Singh"
__maintainer__ = "Dilawar Singh"
__email__ = "*****@*****.**"

import doctest
import moose

print("[INFO ] Using moose from", moose.about())


def test_showfield_func():
    """Show field of a function.
    >>> test_showfield_func()   #doctest: +NORMALIZE_WHITESPACE
    [/dadada[0]]
    allowUnknownVariable    =True
    className               =Function
    derivative              =nan
    doEvalAtReinit          =False
    dt                      =0.1
    expr                    =0
    fieldIndex              =0
    idValue                 =448
    independent             =t
    index                   =0
    mode                    =1
    name                    =dadada
    numData                 =1
    numField                =1
    numVars                 =0
    path                    =/dadada[0]