Skip to content

v0.2.0

Choose a tag to compare

@dogusariturk dogusariturk released this 28 Apr 01:26
· 133 commits to main since this release

eagar-tsai v0.2.0 Release Notes

Overview

This release extends the library with temperature field access and visualization. compute_single_point() now returns the full 2-D temperature arrays computed during integration alongside the melt pool dimensions, and a new matplotlib-based plotting interface renders those fields as publication-ready figures.

Highlights

  • TemperatureField dataclass: A new class that bundles the x-y surface plane (T_xy) and x-z depth cross-section (T_xz) temperature arrays with their coordinate grids in both metres and micrometres. It is populated automatically by compute_single_point() and exposed in the top-level namespace. Its .plot() method offers a convenient one-liner for inline visualization.
  • plot_temperature_field() function: A standalone function in eagar_tsai.plot that renders a two-panel figure showing the surface temperature distribution and the depth cross-section, with the liquidus isotherm overlaid as a contour and optional width/depth annotations derived from the melt pool result.
  • matplotlib runtime dependency: Added as a required dependency so that visualization works out of the box without a separate install step.
  • Expanded public API: TemperatureField and plot_temperature_field are now exported from the top-level eagar_tsai namespace alongside the existing compute_melt_pool, compute_single_point, and dataclass types.
  • Documentation and branding: README updated with a project logo, license badge, and new worked examples covering compute_single_point and TemperatureField visualization.

Full Changelog: v0.1.0...v0.2.0