plot_transformer

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

README

plot_transformer

Data transformation utility for converting simulation data into formats suitable for visualization and plotting.

Notes

  • Transforms raw simulation data into plottable formats
  • Provides coordinate system transformations when needed
  • Handles data type conversions (e.g., string to float64)
  • Supports various plotting libraries and output formats
  • Implements data filtering and aggregation methods
  • Optimizes large datasets for visualization performance
  • Ensures consistent scaling and units across plot types
  • Maintains backward compatibility with existing visualization systems

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformForPlot

func TransformForPlot(headers []string, rows [][]string, source, xAxis, yAxis, zAxis string) ([]map[string]interface{}, map[string]interface{}, error)

TransformForPlot extracts x/y/z data and plot layout for plotting (e.g., Plotly) from headers and rows. If source == "events", x/y/z are string slices; otherwise, float64 slices.

func TransformRowsToFloat64

func TransformRowsToFloat64(rows [][]string) [][]float64

TransformRowsToFloat64 converts [][]string data to [][]float64 for plotting, setting invalid entries to zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL