gaussian_functions.py
def save_computed_density(density_map, out_path):
    """
    Save density map to h5py format
    """
    with h5py.File(out_path, 'w') as hf:
        hf['density'] = density_map
    print(f'{out_path} saved.')

    Save density map to h5py format
    
Save density map to h5py format
Save density map to h5py format
def save_computed_density(density_map, out_path):
    with h5py.File(out_path, 'w') as hf:
        hf['density'] = density_map
    print(f'{out_path} saved.')
def save_computed_density ( density_map , out_path ) : with h5py . File ( out_path , 'w' ) as hf : hf [ 'density' ] = density_map print ( f'{out_path} saved.' )
Save density map to h5py format
Save density map to h5py format
"""
    Save density map to h5py format
    """
density_map
out_path