Tasks.objective_function_plot module

Description

This module defines the ParaMol.Tasks.objective_function_plot.ObjectiveFunctionPlot class, which is a ParaMol task that plots the objective function.

class ParaMol.Tasks.objective_function_plot.ObjectiveFunctionPlot

Bases: ParaMol.Tasks.task.Task

ParaMol task that plots the objective function.

static _plot(x, y, z=None)

Method that plots the objective function.

Parameters
  • x (list or np.array) – x points.

  • y (list or np.array) – y points.

  • z (list or np.array) – z points.

Returns

None

static _write_data(data)

Method that writes objective function plot data to a file.

Parameters

data (np.array) –

Returns

None

run_task(settings, systems, grid_1, grid_2=None, parameter_space=None, objective_function=None, interface=None, write_data=False, plot=True)

This method can be used to generate plots of the objective function.

Parameters
Returns

data (np.array) – Objective function plot data