Skip to content

Commit

Permalink
improved digest
Browse files Browse the repository at this point in the history
  • Loading branch information
orso82 committed Oct 4, 2024
1 parent 8015e9b commit 3c75901
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions src/utils_end.jl
Original file line number Diff line number Diff line change
Expand Up @@ -490,23 +490,11 @@ function digest(
end

# core profiles
# temperatures
sec += 1
if !isempty(dd.core_profiles.profiles_1d) && section (0, sec)
println('\u200B')
display(plot(dd.core_profiles; only=1))
end
# densities
sec += 1
if !isempty(dd.core_profiles.profiles_1d) && section (0, sec)
println('\u200B')
display(plot(dd.core_profiles; only=2))
end
# rotation
sec += 1
if !isempty(dd.core_profiles.profiles_1d) && section (0, sec)
println('\u200B')
display(plot(dd.core_profiles; only=3))
for k in 1:3
if !isempty(dd.core_profiles.profiles_1d) && section (0, sec)
println('\u200B')
display(plot(dd.core_profiles; only=k))
end
end

# core sources
Expand All @@ -517,7 +505,7 @@ function digest(
end
end

# core sources
# core transport
for k in 1:4+length(IMAS.list_ions(dd.core_transport))
if !isempty(dd.core_transport) && section (0, sec)
println('\u200B')
Expand Down

0 comments on commit 3c75901

Please sign in to comment.