After a plea or verdict of guilty in a case where the extent of the punishment is left with the court, the court, upon the suggestion of either party that there are circumstances which may be properly taken into view, either in aggravation or mitigation of the punishment, may in its discretion hear the same summarily at a specified time and upon such notice to the adverse party as it may direct.
R.L.1910, § 5954.