from akr_3d_map.grid_3d import Cartesian
# 3. Performing analysis and generating plot
cart = (
Cartesian()
.create_grid()
.add_burst_count(wind_data, coord_colnames=("x_gse", "y_gse", "z_gse"))
.add_observation_time(wind_data, coord_colnames=("LT_gse", "radius", "lat_gse"))
.add_residence_time(residence_data, coord_colnames=("x_gse", "y_gse", "z_gse"))
.plot_3d(
variable="burst_count |residence_time | residence_time",
path="plot_save_path",
show_earth=True,
earth_image_path_str="/temp.jpg",
show_sun=False,
)
)