astrohack.core.beamcut

Functions

process_beamcut_chunk(beamcut_chunk_params, output_mds)

Ingests a holog_xds containing beamcuts and produces a beamcut_xdtree containing the cuts separated in xdses.

estimate_pb_center_and_fwhm_from_data(x_data, y_data, ...)

Estimate primary beam parameters forcefully from data

Module Contents

process_beamcut_chunk(beamcut_chunk_params: dict, output_mds: astrohack.io.beamcut_mds.AstrohackBeamcutFile)[source]

Ingests a holog_xds containing beamcuts and produces a beamcut_xdtree containing the cuts separated in xdses.

Parameters:
  • beamcut_chunk_params (dict) – Parameter dictionary with inputs

  • output_mds (AstrohackBeamcutFile) – Output mds file

Returns:

Beamcut_xdtree containing the different cuts for this antenna and DDI.

Return type:

xr.DataTree

estimate_pb_center_and_fwhm_from_data(x_data, y_data, datalabel)[source]

Estimate primary beam parameters forcefully from data :param x_data: Cut X data :param y_data: Cut Y data :param datalabel: Data label :return: estimated primary beam center, fwhm and amplitude.