code: def printTPRegionParams(tpregion):
    
    tm = tpregion.getSelf()._tfdr
    print "------------PY  TemporalMemory Parameters ------------------"
    print "numberOfCols             =", tm.columnDimensions
    print "cellsPerColumn           =", tm.cellsPerColumn
    print "minThreshold             =", tm.minThreshold
    print "activationThreshold      =", tm.activationThreshold
    print "newSynapseCount          =", tm.maxNewSynapseCount
    print "initialPerm              =", tm.initialPermanence
    print "connectedPerm            =", tm.connectedPermanence
    print "permanenceInc            =", tm.permanenceIncrement
    print "permanenceDec            =", tm.permanenceDecrement
    print "predictedSegmentDecrement=", tm.predictedSegmentDecrement
    print
docs: Note: assumes we are using TemporalMemory/TPShim in the TPRegion