def cmd():
sdat = StagyyData(conf.core.path)<EOL>if sdat.tseries is None:<EOL><INDENT>return<EOL><DEDENT>if conf.time.fraction is not None:<EOL><INDENT>if not <NUM_LIT:0> < conf.time.fraction <= <NUM_LIT:1>:<EOL><INDENT>raise InvalidTimeFractionError(conf.time.fraction)<EOL><DEDENT>conf.time.tend = None<EOL>t_0 = sdat.tseries.iloc[<NUM_LIT:0>].loc['<STR_LIT:t>']<EOL>t_f = sdat.tseries.iloc[-<NUM_LIT:1>].loc['<STR_LIT:t>']<EOL>conf.time.tstart = (t_0 * conf.time.fraction +<EOL>t_f * (<NUM_LIT:1> - conf.time.fraction))<EOL><DEDENT>lovs = misc.list_of_vars(conf.time.plot)<EOL>if lovs:<EOL><INDENT>plot_time_series(sdat, lovs)<EOL><DEDENT>if conf.time.compstat:<EOL><INDENT>compstat(sdat, conf.time.tstart, conf.time.tend)<EOL><DEDENT>
Implementation of time subcommand.

    Other Parameters:
        conf.time
        conf.core