Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Missed an alma_airy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Willem committed Sep 2, 2021
1 parent cf54f3f commit f71d85f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ngcasa/imaging/make_pb.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_pb(img_xds,pb_parms, grid_parms, sel_parms):
The list of dish diameters.
pb_parms['list_blockage_diameters'] = list of number
The list of blockage diameters for each dish.
pb_parms['function'] : {'alma_airy','airy'}, default='alma_airy'
pb_parms['function'] : {'casa_airy','airy'}, default='casa_airy'
Only the airy disk function is currently supported.
grid_parms : dictionary
grid_parms['image_size'] : list of int, length = 2
Expand Down Expand Up @@ -85,9 +85,9 @@ def make_pb(img_xds,pb_parms, grid_parms, sel_parms):
if _pb_parms['function'] == 'airy':
from ._imaging_utils._make_pb_symmetric import _airy_disk
pb_func = _airy_disk
elif _pb_parms['function'] == 'alma_airy':
from ._imaging_utils._make_pb_symmetric import _alma_airy_disk
pb_func = _alma_airy_disk
elif _pb_parms['function'] == 'casa_airy':
from ._imaging_utils._make_pb_symmetric import _casa_airy_disk
pb_func = _casa_airy_disk
else:
print('Only the airy function has been implemented')

Expand Down

0 comments on commit f71d85f

Please sign in to comment.