Skip to content

Commit 148ea20

Browse files
Pyconv local sucessful
1 parent b9e7630 commit 148ea20

6 files changed

Lines changed: 9512 additions & 35 deletions

File tree

.coverage

68 KB
Binary file not shown.

Keithley_2400/Backends/IV_K2400_Loop_Backend_v10.py

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,13 @@
88
tab-separated .txt file and generates a plot of the I-V curve.
99
"""
1010
# -------------------------------------------------------------------------------
11-
1211
# Name: #interfacing only Keithley2400(current source) for IV
13-
14-
1512
# Last Update :27/09/2024
16-
1713
# Purpose: IV Measurement
18-
1914
#
20-
2115
# Author: Instrument-DSL
22-
2316
#
24-
2517
# Created: 30/09/2024
26-
27-
28-
# Changes_done:Working
29-
30-
# ------------------------------------------------------------------------
31-
32-
# -------------------------------------------------------------------------------
33-
# Name: #interfacing only Keithley2400(current source) for IV
34-
35-
# Last Update :27/09/2024
36-
# Purpose: IV Measurement
37-
#
38-
# Author: Instrument-DSL
39-
#
40-
# Created: 30/09/2024
41-
4218
# Changes_done:Working
4319
# ------------------------------------------------------------------------
4420

@@ -90,7 +66,8 @@ def IV_Measure(cur):
9066
i += 1
9167

9268
print("In loop 1")
93-
for i1 in np.arange(0, I_range + I_step, I_step):
69+
num_steps = int(I_range / I_step)
70+
for i1 in np.linspace(0, I_range, num_steps + 1):
9471
IV_Measure(i1)
9572

9673
df = pd.DataFrame({'I': current_values, 'V': Volt})
@@ -115,4 +92,4 @@ def IV_Measure(cur):
11592

11693

11794
if __name__ == "__main__":
118-
main()
95+
main()

0 commit comments

Comments
 (0)