fiesta.arepo.ArepoCubicGrid.write_mask_to_FITS#
- ArepoCubicGrid.write_mask_to_FITS(mask_FITS_file_path, mask_bounds, verbose=False)[source]#
Write a mask .FITS file. Useful for masking certain regions before feeding into DisPerSE.
- Parameters:
mask_FITS_file_path (
str) – FITS file path to write the masked grid into.mask_bounds (
listofint’s) – The grid indices outside which everything is masked, in the format[xmin, xmax, ymin, ymax, zmin, zmax].verbose (bool, optional) – If
True, prints output during file writing. Default value isFalse.