Get objective function from flash data and flash fit objects.

flash_get_objective(data, f)

Arguments

data

A flash data object.

f

A flash fit object.