Beispiel #1
0
    def __init__(
            self,
            grid: grid_2d.Grid2D,
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):
        super().__init__(visuals_2d=visuals_2d,
                         include_2d=include_2d,
                         mat_plot_2d=mat_plot_2d)

        self.grid = grid
Beispiel #2
0
    def __init__(
            self,
            array: array_2d.Array2D,
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):

        super().__init__(visuals_2d=visuals_2d,
                         include_2d=include_2d,
                         mat_plot_2d=mat_plot_2d)

        self.array = array
Beispiel #3
0
    def __init__(
            self,
            mapper: typing.Union[mappers.MapperRectangular,
                                 mappers.MapperVoronoi],
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):
        super().__init__(visuals_2d=visuals_2d,
                         include_2d=include_2d,
                         mat_plot_2d=mat_plot_2d)

        self.mapper = mapper
    def __init__(
            self,
            imaging: im.Imaging,
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):

        super().__init__(
            imaging=imaging,
            mat_plot_2d=mat_plot_2d,
            include_2d=include_2d,
            visuals_2d=visuals_2d,
        )
    def __init__(
            self,
            fit: f.FitImaging,
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):

        super().__init__(
            fit=fit,
            mat_plot_2d=mat_plot_2d,
            include_2d=include_2d,
            visuals_2d=visuals_2d,
        )
Beispiel #6
0
    def __init__(
            self,
            inversion: inv.AbstractInversion,
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):
        super().__init__(
            mapper=inversion.mapper,
            mat_plot_2d=mat_plot_2d,
            include_2d=include_2d,
            visuals_2d=visuals_2d,
        )

        self.inversion = inversion
    def __init__(
            self,
            fit: f.FitInterferometer,
            mat_plot_1d: mp.MatPlot1D = mp.MatPlot1D(),
            visuals_1d: vis.Visuals1D = vis.Visuals1D(),
            include_1d: inc.Include1D = inc.Include1D(),
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):

        super().__init__(
            fit=fit,
            mat_plot_1d=mat_plot_1d,
            include_1d=include_1d,
            visuals_1d=visuals_1d,
            mat_plot_2d=mat_plot_2d,
            include_2d=include_2d,
            visuals_2d=visuals_2d,
        )
    def __init__(
            self,
            interferometer: inter.Interferometer,
            mat_plot_1d: mp.MatPlot1D = mp.MatPlot1D(),
            visuals_1d: vis.Visuals1D = vis.Visuals1D(),
            include_1d: inc.Include1D = inc.Include1D(),
            mat_plot_2d: mp.MatPlot2D = mp.MatPlot2D(),
            visuals_2d: vis.Visuals2D = vis.Visuals2D(),
            include_2d: inc.Include2D = inc.Include2D(),
    ):

        self.interferometer = interferometer

        super().__init__(
            mat_plot_1d=mat_plot_1d,
            include_1d=include_1d,
            visuals_1d=visuals_1d,
            mat_plot_2d=mat_plot_2d,
            include_2d=include_2d,
            visuals_2d=visuals_2d,
        )