Skip to content

Commit

Permalink
replace _ with - in config, use . instead of - for stimela cab names
Browse files Browse the repository at this point in the history
  • Loading branch information
landmanbester committed Mar 4, 2024
1 parent 0eeb297 commit cbada3d
Show file tree
Hide file tree
Showing 19 changed files with 106 additions and 124 deletions.
10 changes: 5 additions & 5 deletions pfb/parser/cgopts.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
cg_tol:
cg-tol:
dtype: float
default: 1e-3
info: 'Tolreance of conjugate gradient algorithm'
abbreviation: cgtol
cg_maxit:
cg-maxit:
dtype: int
default: 150
info: 'Maximum iterations for conjugate gradient algorithm'
abbreviation: cgmaxit
cg_minit:
cg-minit:
dtype: int
default: 10
info: 'Minimum iterations for conjugate gradient algorithm'
abbreviation: cgminit
cg_verbose:
cg-verbose:
dtype: int
default: 1
info: 'Verbosity of conjugate gradient algorithm. Set to > 1 for \
debugging, 0 for silence'
abbreviation: cgverb
cg_report_freq:
cg-report-freq:
dtype: int
default: 10
info: 'Report frequency of conjugate gradient algorithm'
Expand Down
30 changes: 15 additions & 15 deletions pfb/parser/clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ inputs:
default: 1
info:
Perform dilation followed by erosion with structure element of this width
fits_mfs:
fits-mfs:
dtype: bool
default: true
info:
Output MFS fits files
fits_cubes:
fits-cubes:
dtype: bool
default: false
info:
Output fits cubes
mop_flux:
mop-flux:
dtype: bool
default: true
info:
Trigger PCG based flux mop if minor cycle stalls,
the final threshold is reached or on the final iteration.
mop_gamma:
mop-gamma:
dtype: float
default: 0.65
info:
Expand Down Expand Up @@ -65,25 +65,25 @@ inputs:
abbreviation: gamma
info:
Minor loop gain
peak_factor:
peak-factor:
dtype: float
default: 0.15
abbreviation: pf
info:
Peak factor
sub_peak_factor:
sub-peak-factor:
dtype: float
default: 0.75
abbreviation: spf
info:
Peak factor of sub-minor loop
minor_maxit:
minor-maxit:
dtype: int
default: 50
abbreviation: mmaxit
info:
Maximum number of PSF convolutions between major cycles
subminor_maxit:
subminor-maxit:
dtype: int
default: 1000
abbreviation: smmaxit
Expand All @@ -95,38 +95,38 @@ inputs:
abbreviation: verb
info:
Verbosity level. Set to 2 for maximum verbosity, 0 for silence
report_freq:
report-freq:
dtype: int
default: 10
abbreviation: rf
info:
Report frequency for minor cycles
cg_tol:
cg-tol:
dtype: float
default: 1e-2
abbreviation: cgtol
info:
Tolreance of conjugate gradient algorithm
cg_maxit:
cg-maxit:
dtype: int
default: 100
abbreviation: cgmaxit
info:
Maximum iterations for conjugate gradient algorithm
cg_minit:
cg-minit:
dtype: int
default: 1
abbreviation: cgminit
info:
Minimum iterations for conjugate gradient algorithm
cg_verbose:
cg-verbose:
dtype: int
default: 1
abbreviation: cgverb
info:
Verbosity of conjugate gradient algorithm.
Set to > 1 for debugging, 0 for silence
cg_report_freq:
cg-report_freq:
dtype: int
default: 100
abbreviation: cgrf
Expand All @@ -137,7 +137,7 @@ inputs:
default: true
info:
Ensure residual decreases at every iteration
memory_greedy:
memory-greedy:
dtype: bool
default: false
info:
Expand Down
6 changes: 3 additions & 3 deletions pfb/parser/degrid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
abbreviation: mds
info:
Path to the mds that needs to be degridded
model_column:
model-column:
dtype: str
default: MODEL_DATA
info:
Expand All @@ -23,14 +23,14 @@ inputs:
info:
Imaging products to degrid. Options are I, Q, U, V.
Only single Stokes products are currently supported.
integrations_per_image:
integrations-per-image:
dtype: int
default: -1
abbreviation: ipi
info:
Number of time integrations corresponding to each image.
Default -1 (equivalently 0 or None) implies degrid per scan.
channels_per_image:
channels-per-image:
dtype: int
abbreviation: cpi
default: -1
Expand Down
4 changes: 2 additions & 2 deletions pfb/parser/dist.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
host_address:
host-address:
dtype: str
abbreviation: ha
info:
Expand All @@ -12,7 +12,7 @@ nworkers:
info:
Number of worker processes.
Use with distributed scheduler.
nthreads_dask:
nthreads-dask:
dtype: int
default: 1
abbreviation: ntd
Expand Down
26 changes: 13 additions & 13 deletions pfb/parser/fastim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inputs:
info:
List of FIELD_ID's to image. Defaults to all.
Input as string eg. '[0,1,2]' if running from CLI
freq_range:
freq-range:
dtype: str
info:
Frequency range to image in Hz.
Expand All @@ -34,48 +34,48 @@ inputs:
dtype: Optional[List[any]]
info:
Rephase all images to this radec specified in radians
data_column:
data-column:
dtype: str
default: DATA
abbreviation: dc
info:
Data column to image. Must be the same across MSs
weight_column:
weight-column:
dtype: str
abbreviation: wc
info:
Column containing natural weights. Must be the same across MSs
sigma_column:
sigma-column:
dtype: str
abbreviation: sc
info:
Column containing standard devations.
Will be used to initialise natural weights if detected.
Must be the same across MSs
flag_column:
flag-column:
dtype: str
default: FLAG
abbreviation: fc
info:
Column containing data flags. Must be the same across MSs
gain_table:
gain-table:
dtype: List[str]
info:
Path to Quartical gain table containing NET gains.
There must be a table for each MS and glob(ms) and glob(gt) should match up
gain_term:
gain-term:
dtype: str
default: NET
info:
Which gain term to use. Default is NET
integrations_per_image:
integrations-per-image:
dtype: int
abbreviation: ipi
default: -1
info:
Number of time integrations per image.
Default (-1, 0, None) -> dataset per scan.
channels_per_image:
channels-per-image:
dtype: int
abbreviation: cpi
default: -1
Expand All @@ -90,23 +90,23 @@ inputs:
- double
info:
Gridding precision
bda_decorr:
bda-decorr:
dtype: float
default: 1.0
info:
BDA decorrelation factor.
Only has an effect if less than one
beam_model:
beam-model:
dtype: str
info:
Beam model to use
max_field_of_view:
max-field-of-view:
dtype: float
abbreviation: fov
default: 3.0
info:
Field of view in degrees
chan_average:
chan-average:
dtype: int
default: 1
info:
Expand Down
6 changes: 3 additions & 3 deletions pfb/parser/forward.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ inputs:
default: 1.0
info:
Step size of update
use_psf:
use-psf:
dtype: bool
default: true
info:
Whether to approximate the Hessian as a convolution by the PSF
fits_mfs:
fits-mfs:
dtype: bool
default: true
info:
Output MFS fits files
fits_cubes:
fits-cubes:
dtype: bool
default: false
info:
Expand Down
10 changes: 5 additions & 5 deletions pfb/parser/fwdbwd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
- cgopts.yml
- dist.yml
- out.yml
model_name:
model-name:
dtype: str
abbreviation: mname
default: MODEL
Expand Down Expand Up @@ -52,7 +52,7 @@ inputs:
abbreviation: sig21
info:
Wavelet thresholding level
l1reweight_from:
l1reweight-from:
dtype: int
default: 5
info:
Expand Down Expand Up @@ -90,15 +90,15 @@ inputs:
info:
Tolerance at which to terminate algorithm.
Will stop when norm(x-xp)/norm(x) < tol
fits_mfs:
fits-mfs:
dtype: bool
default: true
info: "Output MFS fits files"
fits_cubes:
fits-cubes:
dtype: bool
default: false
info: "Output fits cubes"
memory_greedy:
memory-greedy:
dtype: bool
default: false
info:
Expand Down
Loading

0 comments on commit cbada3d

Please sign in to comment.