Skip to content

Commit

Permalink
Update simulator_ivc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha committed Mar 5, 2024
1 parent 2695ce7 commit fe2a6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_dataset/simulator_ivc.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_ivc(self, circuit: Circuit):
simulator = circuit.simulator()
analysis = simulator.transient(step_time=step_time, end_time=end_time)

voltages = analysis.input_dummy[skip_points + 8:].as_ndarray()
voltages = analysis.input[skip_points + 8:].as_ndarray()
currents = analysis.VCurrent[skip_points + 8:].as_ndarray()
return voltages, currents

Expand Down

0 comments on commit fe2a6fc

Please sign in to comment.