split_subcube module

This script splits the cube in different subcubes according to a grid of subcubes

split_subcube.get_args()

This function parses and returns arguments passed in

split_subcube.main()

Splits the data cube in several subcubes

split_subcube.split_subcube(infile, coord_subcubes, idx)

Creates a fits file containing the coordinates x low x high y low and y high

Parameters
  • infile (str) – Input file name

  • coord_subcubes (array) – Array containing coordinates of subcubes

  • idx (int) – Index of subcube