tidy3d.web.api.container.Job.estimate_cost#
- class estimate_cost#
Bases:
Compute the maximum FlexCredit charge for a given
Job
.- Parameters:
verbose (bool = True) β Whether to log the cost and helpful messages.
- Returns:
Estimated cost of the task in FlexCredits.
- Return type:
float
Note
Cost is calculated assuming the simulation runs for the full
run_time
. If early shut-off is triggered, the cost is adjusted proportionately.Inherited Common Usage