This should solve the problem of displaying time in ms while representing it in seconds (which is assumed by Brain.save_movie() when determining time dilation). To display in ms use time_label=lambda x: '%s ms' % int(round(x)).
Coverage increased (+0.04%) to 72.49% when pulling cad482071d442af38bddddcd675d51ec9eb36277 on christianbrodbeck:timelabel into a7b40975a960df0cc1514feabe4ec6c1cf478e92 on nipy:master.
Coverage increased (+0.04%) to 72.49% when pulling cad482071d442af38bddddcd675d51ec9eb36277 on christianbrodbeck:timelabel into a7b40975a960df0cc1514feabe4ec6c1cf478e92 on nipy:master.
Coverage increased (+0.04%) to 72.49% when pulling cad482071d442af38bddddcd675d51ec9eb36277 on christianbrodbeck:timelabel into a7b40975a960df0cc1514feabe4ec6c1cf478e92 on nipy:master.
This should solve the problem of displaying time in ms while representing it in seconds (which is assumed by
Brain.save_movie()
when determining time dilation). To display in ms usetime_label=lambda x: '%s ms' % int(round(x))
.