trixi.logger¶
AbstractLogger¶
-
class
trixi.logger.abstractlogger.
AbstractLogger
(*args, **kwargs)[source]¶ Bases:
object
Abstract interface for visual logger.
-
process_params
(f, *args, **kwargs)[source]¶ Implement this to handle data conversions in your logger.
Example: Implement logger for numpy data, then implement torch logger as child of numpy logger and just use the process_params method to convert from torch to numpy.
-
show_barplot
(*args, **kwargs)[source]¶ Abstract method which should handle and somehow log/ store a barplot
-
show_image
(*args, **kwargs)[source]¶ Abstract method which should handle and somehow log/ store an image
-
show_lineplot
(*args, **kwargs)[source]¶ Abstract method which should handle and somehow log/ store a lineplot
-
show_piechart
(*args, **kwargs)[source]¶ Abstract method which should handle and somehow log/ store a piechart
-
show_scatterplot
(*args, **kwargs)[source]¶ Abstract method which should handle and somehow log/ store a scatterplot
-