suncasa.eovsa.wrap_wsclean
Originally written by Dr. Peijin Zhang @peijin94 Major revision by Dr. Sijie Yu @sageyu123
Attributes
Classes
Functions
|
Format seconds into appropriate unit string. |
|
Decorator to report runtime of a function and log completion time. |
Return the preferred WSClean executable path for EOVSA. |
Module Contents
- suncasa.eovsa.wrap_wsclean.format_duration(seconds)[source]
Format seconds into appropriate unit string.
- suncasa.eovsa.wrap_wsclean.runtime_report(func)[source]
Decorator to report runtime of a function and log completion time.
- suncasa.eovsa.wrap_wsclean._resolve_wsclean_bin()[source]
Return the preferred WSClean executable path for EOVSA.
Prefer the EOVSA compatibility wrapper, which depends on casacore2 and the legacy runtime libraries required by the current server build.
- class suncasa.eovsa.wrap_wsclean.WSClean(vis: str)[source]
-
- setup(**kwargs)[source]
Set WSClean parameters
Parameters:
- sizeint or list, optional
Image size in pixels [width, height] or single value for square
- scalestr, optional
Pixel scale (e.g., “2.5asec”)
- weight_briggsfloat, optional
Briggs robust parameter
- niterint, optional
Number of clean iterations
- mgainfloat, optional
Major cycle gain
- data_columnstr, optional
Data column to image
- namestr, optional
Output name prefix
- multiscalebool, optional
Enable multiscale clean
- auto_maskfloat, optional
Auto-masking threshold
- auto_thresholdfloat, optional
Auto threshold value
- local_rmsbool, optional
Enable local RMS
- no_update_modelbool, optional
Disable model data updates
- intervals_outint, optional
Number of time intervals
- spwslist or str, optional
Spectral windows to image
- polstr, optional
Polarization to image
- no_negativebool, optional
Prevent negative components
- beam_sizefloat, optional
Beam size in arcsec
- quietbool, optional
Suppress output
- circular_beambool, optional
Use circular beam