Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
raser
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RASER-TEAM
raser
Merge requests
!27
ngspice画图代码整理
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ngspice画图代码整理
1256257282/raser:main
into
main
Overview
0
Commits
4
Pipelines
0
Changes
6
Merged
Chenxi Fu
requested to merge
1256257282/raser:main
into
main
5 months ago
Overview
0
Commits
4
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
0d14c98e
Prev
Next
Show latest version
2 files
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
0d14c98e
tct save current精简
· 0d14c98e
Chenxi Fu
authored
5 months ago
tct/tct_signal.py
+
2
−
2
Options
@@ -78,7 +78,7 @@ def main(kwargs):
my_current
=
ccrt
.
CalCurrentLaser
(
my_d
,
my_f
,
my_l
)
if
'
ngspice
'
in
amplifier
:
save_current
(
my_d
,
my_current
,
my_f
=
devfield
.
DevsimField
(
my_d
.
device
,
my_d
.
dimension
,
voltage
,
1
,
my_d
.
l_z
),
key
=
None
)
save_current
(
my_d
,
my_current
,
key
=
None
)
input_p
=
ngsip
.
set_input
(
my_current
,
my_d
,
key
=
None
)
input_c
=
'
,
'
.
join
(
input_p
)
ng
.
ngspice_t0
(
input_c
,
input_p
)
@@ -102,7 +102,7 @@ def main(kwargs):
print
(
"
total time used:%s
"
%
(
time
.
time
()
-
start
))
#TODO: move this to calcurrent
def
save_current
(
my_d
,
my_current
,
my_f
,
key
):
def
save_current
(
my_d
,
my_current
,
key
):
if
"
planar3D
"
in
my_d
.
det_model
or
"
planarRing
"
in
my_d
.
det_model
:
path
=
os
.
path
.
join
(
'
output
'
,
'
pintct
'
,
my_d
.
det_name
,
)
elif
"
lgad3D
"
in
my_d
.
det_model
:
Loading