{
  "format_version": 1,
  "rows": 5283212,
  "brick_shape": [
    16,
    16,
    16
  ],
  "total_values": 2754335907,
  "format": "prepacked_patch_normals",
  "version": 1,
  "complete": true,
  "array_shape": [
    9088,
    3712,
    3840
  ],
  "grid_shape": [
    568,
    232,
    240
  ],
  "cell_size_fitter_voxels": 2.0,
  "fitter_voxel_scale_base_voxels": 4.0,
  "normal_encoding": {
    "name": "signed_unit_vector_u8",
    "components": [
      "nx",
      "ny",
      "nz"
    ],
    "encode": "round_ties_to_even(127 * clip(component, -1, 1)) + 128",
    "decode": "(float32(value) - 128) / 127; normalize the three-vector",
    "offset": 128,
    "scale": 127,
    "renormalize_after_decode": true,
    "component_zero": 128,
    "component_min": 1,
    "component_max": 255,
    "missing_vector": [
      0,
      0,
      0
    ],
    "presence": "any component != 0"
  },
  "source_metadata": {
    "checkpoint": "/home/sean/Desktop/graph_patch_merging/checkpoint_autosave.ckpt",
    "model_state_sha256": "facc45fa04d5a3916125c0ca940bd489a8fac83e2fb60b5b1a216178ebbf3fe1",
    "completed_iterations": 37000,
    "umbilicus": "/home/sean/Desktop/spiral_dataset/umbilicus.json",
    "checkpoint_z_roi": [
      4000,
      18000
    ],
    "artifact_type": "patch_normal_samples",
    "format_version": 1,
    "source_type": "patch_surface_normals",
    "signed": true,
    "patches_dir": "/home/sean/Desktop/graph_patch_merging/graph_patches_only",
    "coordinate_scale": 1.0,
    "z_roi": [
      4000.0,
      18000.0
    ],
    "cell_size_output_voxels": 2.0,
    "normal_convention": "patch normal aligned with negative winding gradient",
    "sign_valid_min_abs_cosine": 1e-06,
    "finite_difference_epsilon": 2.0,
    "device": "cuda",
    "sampling": "bilinear_surface_signed_box_filter",
    "cuda_memory_limit_gib": 8.0,
    "surface_spacing_output_voxels": 1.0,
    "fine_cell_size_output_voxels": 1.0,
    "box_kernel_zyx": [
      3,
      3,
      3
    ],
    "box_normalization": "occupied signed fine voxels only; normalize mean vector",
    "overlap_policy": "nearest fine-cell center; stable source order on ties",
    "output_selection": "fine representative nearest coarse-cell center",
    "filter_across_patches_and_windings": true,
    "reorient_after_filter": true,
    "position_dtype": "float64",
    "tile_edge_fitter_voxels": 256,
    "geometry_backend": "cuda",
    "geometry_residency": "bounded batches; tile geometry staged on disk",
    "sign_grid_spacing_fitter_voxels": 8.0,
    "inward_alignment_evaluation": "interpolated checkpoint direction with exact ambiguous fallback",
    "sign_grid_fallback_min_corner_cosine": 0.75,
    "patch_count": 89229,
    "patches_without_quads_in_roi": 152,
    "quad_count": 102414208,
    "geometry_batch_quads": 250000,
    "spatial_tiles": 16208,
    "staging_seconds": 150.18985947200008,
    "sign_grid_build_seconds": 39.48681310800612,
    "sign_grid_nodes": 157434647,
    "sample_count": null,
    "pooled_position_count": null,
    "valid_sign_count": 2754335906,
    "processing_seconds": 798.0546938870001,
    "fine_samples_including_halos": 3809074756,
    "exact_sign_fallback_count": 526414587,
    "reused_chunks": 11796,
    "counts_scope": "current run only for fine samples/grid/fallback",
    "cuda_peak_allocated_gib": 1.9098639488220215,
    "cuda_peak_reserved_gib": 2.46484375
  }
}
