makedisk
- jwst.ami.utils.makedisk(n, r)[source]
Calculate a ‘disk’.
Disk is defined as an array whose values =1 in a circular region near the center of the array, and =0 elsewhere.
- Parameters:
- nint
Size of 1 dimension of the array to be returned
- rint
Radius of disk
- Returns:
- array2D integer array
Array whose values =1 in a circular region near the center of the array, and =0 elsewhere.