flint.peel.jolly¶
Utilities to run the holly-roger sun flagging utilities
Classes¶
Container for the Jolly-Roger tractor operations. These |
Functions¶
|
|
|
|
|
Run the jolly_roger tukey tractor method to null towards an object. |
Module Contents¶
- class flint.peel.jolly.TukeyTractorOptions(/, **data: Any)[source]¶
Bases:
flint.options.BaseOptionsContainer for the Jolly-Roger tractor operations. These options map into the jolly_roger.tractor.TukeyTaperOptions class. Exception being that this container omits the usage of astropy quantities.
- apply_towards_object: bool = True[source]¶
apply the taper using the delay towards the target object. Otherwise delays away from zero are nulled with potential for significant smearing effects.
- copy_column_data: bool = False[source]¶
Copy the data from the data column to the output column before applying the taper
- dry_run: bool = False[source]¶
Indicates whether the data will be written back to the measurement set
- elevation_cut_deg: float = -1[source]¶
The elevation cut-off for the target object, in degrees. Defaults to -1.
- ignore_nyquist_zone: int = 2[source]¶
Do not apply the tukey taper if object is beyond this Nyquist zone
- flint.peel.jolly._create_jolly_tractor_options(ms_path: pathlib.Path, tukey_tractor_options: TukeyTractorOptions) jolly_roger.tractor.TukeyTractorOptions[source]¶
- flint.peel.jolly.jolly_roger_tractor(ms: flint.options.MS | pathlib.Path, tukey_tractor_options: TukeyTractorOptions | None = None, update_tukey_tractor_options: dict[str, Any] | None = None) flint.options.MS[source]¶
Run the jolly_roger tukey tractor method to null towards an object.
- Parameters:
ms (MS | Path) – The measurement set to modify
tukey_tractor_options (TukeyTractorOptions | None, optional) – Settings to modify the tukey tractor algorithm. If None defaults are used. Defaults to None.
update_tukey_tractor_options (dict[str, Any] | None, optional) – Over-rides the options of tukey_tractor_options. Defaults to None.
- Returns:
Reference to modified measurement set.
- Return type: