
This software record contains a companion Python analysis script for preparing COSMOS-Web large-scale-structure density products for the rCVGT environmental-coherence analysis presented in the preprint “Environmental Coherence Dynamics in rCVGT: Numerical Reconstruction Against COSMOS-Web Large-Scale Structure and Galaxy Evolution.” The script reads the COSMOS-Web LSS FITS density catalog, extracts the SLICES, POINTS, and OVERDENSITY tables, computes the environmental overdensity field δg from density_excess, reads two-dimensional density-contrast maps, and computes gradient-squared and Laplacian fields for each redshift slice. These quantities are the numerical inputs required for reconstructing the environmental coherence perturbation used in the rCVGT model. The script also writes per-slice summary statistics and compressed map products, and includes an optional conservative ID-based cross-match structure for later connection to the COSMOS2025 physical-properties catalog. A full galaxy-property fit requires matching the LSS density products to COSMOS2025 in order to attach stellar mass, SFR, sSFR, and star-forming/quiescent classifications. This software does not redistribute the COSMOS-Web LSS FITS catalog or the COSMOS2025 catalog. Users should obtain the relevant data products from the original COSMOS-Web/COSMOS2025 sources and cite those data products and papers appropriately.
