def createSimulateAnalyze(netParams=None, simConfig=None, output=False):
    """ Sequence of commands create, simulate and analyse network """
    from .. import sim
    pops, cells, conns, stims, rxd, simData = sim.create(netParams,
        simConfig, output=True)
    sim.simulate()
    sim.analyze()
    if output:
        return pops, cells, conns, stims, simData
