Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCDDS-core
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
SPC
SCDDS
SCDDS-core
Commits
e61628ab
Commit
e61628ab
authored
3 years ago
by
Antoine Merle
Committed by
Federico Felici
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add possibility to provide dimension to rtc_profile
parent
df0aca77
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mds/tdi/dicts/rtc_profile.fun
+5
-3
5 additions, 3 deletions
mds/tdi/dicts/rtc_profile.fun
with
5 additions
and
3 deletions
mds/tdi/dicts/rtc_profile.fun
+
5
−
3
View file @
e61628ab
...
...
@@ -13,14 +13,16 @@ arguments:
a
time
dependent
profile
in
this
form
:
-
data
shape
is
[
profile
points
,
times
]
-
the
first
dimension
is
time
_
d1
dimension
array
to
be
used
in
the
build_signal
expr
.
returns
:
a
jScope
plottable
build_signal
expression
to
plot
the
profile
with
live
update
capability
(
ctrl-Y
in
jScope
)
*/
FUN
PUBLIC
rtc_profile
(_
s
)
FUN
PUBLIC
rtc_profile
(_
s
,
optional
in
_
d1
)
{
/*
Leave
second
dimension
empty
,
MDSplus
will
return
0
:
size-
1
when
asked
for
it
*/
Return
(
build_param
(
build_signal
(
transpose
(
DATA
(_
s
)),
*
,
DIM_OF
(_
s
),
*
),
help_of
(_
s
),
1
));
_
d1
=
present
(_
d1
)
?
_
d1
:
*
;
if
(
ndims
(_
s
)
!=
2
)
ABORT
();
Return
(
make_param
(
make_signal
(
transpose
(
DATA
(_
s
)),
*
,
DIM_OF
(_
s
),
_
d1
),
help_of
(_
s
),
1
));
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment