zospy.analyses.raysandspots.ray_fan.RayFanResult

zospy.analyses.raysandspots.ray_fan.RayFanResult#

class zospy.analyses.raysandspots.ray_fan.RayFanResult#

Bases: object

Data for the Ray Fan analysis.

Methods

to_dataframe()

Convert the data to a Pandas DataFrame.

__init__(*args: Any, **kwargs: Any) None#
to_dataframe() DataFrame#

Convert the data to a Pandas DataFrame.

The separate dataframes for each field are combined in a DataFrame in long format. In addition to the columns for each wavelength, the returned DataFrame has the following columns:

  • Direction: The direction of the fan, either ‘Tangential’ or ‘Sagittal’.

  • Field Number: The field number.

  • Field: The field coordinate.

Returns:
DataFrame

The data in long format.