// SPDX-License-Identifier: AGPL-3.0-only
// Copyright (C) 2026 Vallés Puig, Ramon
//! CSV serialization for generated stellar surface-brightness maps.
//!
//! The CSV representation is intentionally simple and deterministic so it can
//! be consumed by downstream tools that build runtime data assets. Each row
//! stores the zero-based HEALPix pixel index and the stellar brightness values
//! associated with that pixel.
use crateStellarSurfaceBrightnessMap;
/// Serialize a generated stellar surface-brightness map to CSV text.
///
/// Rows are emitted in the map grid ordering. The current schema is:
/// `healpix_index,integrated_ph_cm2_ns_sr,b_s10,v_s10`.