Fluxboot

class Fluxboot(inputs)[source]

Bases: StandardTaskTemplate

Methods Summary

analyse(results)

Analyze the result from the task preparing operation.

find_fitorder([spwlist])

Determine the fitorder for a given list of spectral windows

prepare()

Prepare job requests for execution.

re_reference_polynomial(c1, ...)

Re-reference polynomial

Methods Documentation

analyse(results)[source]

Analyze the result from the task preparing operation.

This method analyzes the result object returned by the Pipeline task.prepare method and returns it with optional modifications.

Parameters:

result -- the task result object generated by prepare()

Return type:

Result

find_fitorder(spwlist: list[str] = []) int[source]

Determine the fitorder for a given list of spectral windows

Parameters:

spwlist (list) -- list of string values for spw ids

Returns:

integer value of the determined fitorder for a given band (list of spws)

Return type:

fitorder(int)

prepare()[source]

Prepare job requests for execution.

Parameters:

parameters -- the parameters to pass through to the subclass. Refer to the implementing subclass for specific information on what these parameters are.

Return type:

a class implementing Result

re_reference_polynomial(c1: list, original_ref_freq: float, new_ref_freq: float) list[source]

Re-reference polynomial

Returns:

re-referenced coefficients

Return type:

p2.coefficients(np.array)