code: def register_measurements(self, end, rows, between, refresh_presision):
  		
  		if not self.end and len(rows) > 0:
  			self.append_rows(rows, between, refresh_presision)
  			self.go_inactive(end)
  			self.save()
docs: Register the measurements if it has measurements and close the configuration, if it hasen't got measurements clean the temporal file on disk.
  
  			Keyword arguments:
  			f -- open memory file
  			end -- datetime of the moment when the configuration go inactive
  			between -- time between integral_measurements in seconds
  			refresh_presision -- time between sensor values that compose the integral_measurements