Skip to content
Snippets Groups Projects
Select Git revision
  • dc834c4a4add033122fb0c74596dc5b71979ef02
  • master default protected
  • gec-95-migrate-filter-skymodel
  • gec-128-update-docs
  • gec-87-skalowaa2-config
  • streamflow
  • RAP-922_multi_calibration
  • RAP-1131_remove_lba
  • RAP-762_add_idgcal
  • fix-missing-comma
  • releases/v2.0 protected
  • releases/v2.0rc1 protected
  • improve-exception-handling
  • RAP-973_cleanup-toils-temp-files-alternative-implementation
  • RAP-904_Add_MS_column_option
  • metadata-compression
  • idgcal_testing
  • RAP-480_CWL_validation_errors
  • releases/v1.0 protected
  • issue-5
  • v2.0 protected
  • v2.0rc1 protected
  • v1.1 protected
  • v1.0 protected
24 results

default_imaging_strategy.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    default_imaging_strategy.py 1.16 KiB
    """
    Script that defines the default user processing strategy for imaging only.
    Specifying this file as the strategy in the Rapthor parset causes default
    Rapthor to use the default behaviour, which is equal to specifying "strategy =
    image".
    
    This file is provided to base custom strategies from. See the documentation for
    detailed information on each parameter.
    """
    # Here we disable calibration, flux-scale normalization, and peeling of
    # outliers and bright sources
    strategy_steps = [{}]
    strategy_steps[0]['do_calibrate'] = False
    strategy_steps[0]['do_normalize'] = False
    strategy_steps[0]['peel_outliers'] = False
    strategy_steps[0]['peel_bright_sources'] = False
    
    # Here we activate imaging and set the imaging strategy parameters
    strategy_steps[0]['do_image'] = True
    strategy_steps[0]['auto_mask'] = 3.0
    strategy_steps[0]['auto_mask_nmiter'] = 2
    strategy_steps[0]['threshisl'] = 3.0
    strategy_steps[0]['threshpix'] = 5.0
    strategy_steps[0]['max_nmiter'] = 12
    
    # Here we disable the self-calbration convergence check and the
    # sky model regrouping (both useful only when there is more
    # than one cycle)
    strategy_steps[0]['do_check'] = False
    strategy_steps[0]['regroup_model'] = False