code: def printTemporalMemory(tm, outFile):
    
    table = PrettyTable(["Parameter name", "Value", ])
  
    table.add_row(["columnDimensions", tm.getColumnDimensions()])
    table.add_row(["cellsPerColumn", tm.getCellsPerColumn()])
    table.add_row(["activationThreshold", tm.getActivationThreshold()])
    table.add_row(["minThreshold", tm.getMinThreshold()])
    table.add_row(["maxNewSynapseCount", tm.getMaxNewSynapseCount()])
    table.add_row(["permanenceIncrement", tm.getPermanenceIncrement()])
    table.add_row(["permanenceDecrement", tm.getPermanenceDecrement()])
    table.add_row(["initialPermanence", tm.getInitialPermanence()])
    table.add_row(["connectedPermanence", tm.getConnectedPermanence()])
    table.add_row(["predictedSegmentDecrement", tm.getPredictedSegmentDecrement()])
  
    print >>outFile, table.get_string().encode("utf-8")
docs: Given an instance of TemporalMemory, print out the relevant parameters