Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MRIBuilder.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container 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
Michiel Cottaar
MRIBuilder.jl
Commits
2ac53c3f
Verified
Commit
2ac53c3f
authored
11 months ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Fix `time` attribute name
parent
5bb42918
No related branches found
No related tags found
No related merge requests found
Pipeline
#23673
failed
11 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/pulses/generic_pulses.jl
+1
-1
1 addition, 1 deletion
src/components/pulses/generic_pulses.jl
with
1 addition
and
1 deletion
src/components/pulses/generic_pulses.jl
+
1
−
1
View file @
2ac53c3f
...
@@ -112,7 +112,7 @@ function split_timestep(gp::GenericPulse, precision)
...
@@ -112,7 +112,7 @@ function split_timestep(gp::GenericPulse, precision)
function
second_derivative
(
arr
)
function
second_derivative
(
arr
)
max_second_der
=
0.
max_second_der
=
0.
for
index
in
2
:
length
(
arr
)
-
1
for
index
in
2
:
length
(
arr
)
-
1
poly
=
fit
(
gp
.
time
s
[
index
-
1
:
index
+
1
],
arr
[
index
-
1
:
index
+
1
])
poly
=
fit
(
gp
.
time
[
index
-
1
:
index
+
1
],
arr
[
index
-
1
:
index
+
1
])
second_der
=
abs
(
poly
.
coeffs
[
end
])
second_der
=
abs
(
poly
.
coeffs
[
end
])
if
second_der
>
max_second_der
if
second_der
>
max_second_der
max_second_der
=
second_der
max_second_der
=
second_der
...
...
This diff is collapsed.
Click to expand it.
Michiel Cottaar
@ndcn0236
mentioned in commit
739af0f0
·
11 months ago
mentioned in commit
739af0f0
mentioned in commit 739af0f0de35e242eab45db423f569fd307faa16
Toggle commit list
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