Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
330a7ad
refactor frequency selection and averaging handling
bhazelton Mar 30, 2023
79d861a
fix plotfile naming
bhazelton Apr 3, 2023
efe6f43
don't error if n_kz ne n_freq if we've done flagging or averaging
bhazelton Apr 3, 2023
63f4aa6
Fix difference plots to allow differencing with and without flags
bhazelton Apr 4, 2023
c95c0b9
calculate z_mpc_length based on nominal freqs if irregular freq spacing
bhazelton Apr 4, 2023
2c78df2
move structure setup logic from ps_diff_wrapper to new file for reuse
bhazelton Apr 5, 2023
eff34ce
update ratio & comp1d wrappers
bhazelton Apr 5, 2023
632492d
fix derived input cubes to point at full freq files
bhazelton Apr 17, 2023
669ef24
add metadata only option to ps_freq_select_avg
bhazelton Apr 17, 2023
3d2903d
fix beam_full_savefile detection
bhazelton Apr 18, 2023
70117d5
fix beam handling when only averaging
bhazelton Apr 18, 2023
5ae4691
use n_freq not n_kz now where appropriate now that they can be different
bhazelton Apr 19, 2023
8ef27b7
fix iteration over savefile_k0_use
PyxieLouStar Apr 20, 2023
5552f62
fix vis_sigma calc when averaging in freq
bhazelton May 19, 2023
01ce62c
fix bug in vis_sigma freq averaging.
bhazelton May 19, 2023
a691b42
use freq_flag_name if freq_flags are not set; change frequency differ…
PyxieLouStar May 23, 2023
a2f7b0c
fix rebase mistakes
PyxieLouStar Oct 3, 2023
9523095
Add frequency binning option
PyxieLouStar Jan 9, 2024
6d46d5f
update diff and ratio wrappers
PyxieLouStar Jan 9, 2024
174a73d
Add frequency keywords to dictionary
PyxieLouStar Jan 10, 2024
82d0143
add option for custom kz array
PyxieLouStar Jan 24, 2024
d77b3a8
update single_cube_dft
PyxieLouStar Mar 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 27 additions & 9 deletions dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ label it with !Q.
Many of these keywords are re-used in other wrappers, but since this is the
primary eppsilon wrapper they are defined here.

## input data definitions:
## Input data definitions:

**folder_name**: **Required** This defines what folder the data live in. For
FHD, it should be the top level folder for that run (which contains folders
Expand Down Expand Up @@ -52,6 +52,19 @@ RTS it is ['xx', 'yy'].
(e.g. 'dirty', 'model', 'res'). For FHD the default is all available types,
for RTS it is ['res'].

**uvf_input**: This is a flag (valid values are 0/1, default=0) indicating
that the input cubes are uvf cubes, rather than image space cubes. This is only
supported for FHD inputs and only works for single obsid cubes. This is used
most often for simulation testing & exploration.

**no_evenodd**: This is a flag (valid values are 0/1, default=0) indicating
that only one set of files (rather than both evens and odds) are expected to be
present. If not set, eppsilon will error fairly quickly rather than proceeding
with just one set of files.


## Frequencing selecting, flagging, and averaging keywords:

**freq_ch_range**: Specifies what range of frequency channels to calculate the
power spectra for. Default is all available channels (this is modified if the
coarse_harm_width keyword is used).
Expand All @@ -60,18 +73,23 @@ power spectra for. Default is all available channels (this is modified if the
spectrum. Errors will be generated if there are fewer than 3 unflagged
frequencies.

**freq_flag_repeat**: Only used if freq_flags is used. Integer of number of repeats
of freq_flags needed to generate a full flag array. (Length of freq_flags) * freq_flag_repeat
must equal length of frequencies.

**freq_flag_name**: Only used if freq_flags is used. String to use in the
output file names to identify the files with the frequency flagging applied.

**uvf_input**: This is a flag (valid values are 0/1, default=0) indicating
that the input cubes are uvf cubes, rather than image space cubes. This is only
supported for FHD inputs and only works for single obsid cubes. This is used
most often for simulation testing & exploration.
**freq_avg_factor**: Integer by which to average along the frequency axis.

**no_evenodd**: This is a flag (valid values are 0/1, default=0) indicating
that only one set of files (rather than both evens and odds) are expected to be
present. If not set, eppsilon will error fairly quickly rather than proceeding
with just one set of files.
**force_even_freqs**: Only used if freq_avg_factor is used. Forces flags to be ignored
while averaging the frequency array, thus resulting in evenly spaced frequencies.

**freq_avg_bins**: Set of integers assigning each frequency to a bin. Must have the same
length as number of frequencies. Bins must start at zero and be contiguous.

**freq_bin_name**: Only used if freq_avg_bins is set. String to use in the output file
names to identify files which have been averaged into bins.


## RTS specific keywords:
Expand Down
281 changes: 160 additions & 121 deletions ps_compare/compare_plot_prep.pro

Large diffs are not rendered by default.

Loading