Skip to content

Commit

Permalink
Increase size threshold for multiscale
Browse files Browse the repository at this point in the history
  • Loading branch information
darafferty committed Feb 23, 2016
1 parent a5117ee commit f36fae8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions factor/lib/direction.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,12 @@ def set_imaging_parameters(self, nbands, nbands_per_channel, nchan_per_band,
self.casa_full_image_threshold_mjy = "{}mJy".format(1.5 * 0.7 / scaling_factor)

# Set multiscale imaging mode: Get source sizes and check for large
# sources (anything above 2 arcmin -- the CC sky model was convolved
# sources (anything above 4 arcmin -- the CC sky model was convolved
# with a Gaussian of 1 arcmin, so unresolved sources have sizes of ~
# 1 arcmin)
if initial_skymodel is not None and self.mscale_field_do is None:
sizes = self.get_source_sizes(initial_skymodel.copy())
large_size_arcmin = 2.0
large_size_arcmin = 4.0
if any([s > large_size_arcmin for s in sizes]):
self.mscale_field_do = True
else:
Expand Down

0 comments on commit f36fae8

Please sign in to comment.