Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Analyse galaxy simulations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoftenedJeansCriteria
Analyse galaxy simulations
Commits
8faf1dda
Commit
8faf1dda
authored
1 year ago
by
Sylvia Plöckinger
Browse files
Options
Downloads
Patches
Plain Diff
remove unused script
parent
be83aee2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/Fig6_runs_to_plot.py
+0
-44
0 additions, 44 deletions
helpers/Fig6_runs_to_plot.py
with
0 additions
and
44 deletions
helpers/Fig6_runs_to_plot.py
deleted
100644 → 0
+
0
−
44
View file @
be83aee2
import
glob
from
pathlib
import
Path
import
os
########################################
snapshotnumber
=
100
########################################
snapshotnumber_rerun
=
0
folderbase
=
"
/gpfs/data/fs71897/ploeckinger/SIMULATIONS/2022_11_IsolatedGalaxies_v2/
"
########################################
# Simulation set run variations
########################################
mass_resolution_levels
=
[
"
M5
"
]
softening_resolutions_in_kpc
=
[
0.25
]
smoothing_resolutions_in_kpc
=
[
0.0775
,
0.0245
,
0.00775
]
star_formation_efficiencies
=
[
0.00316
]
########################################
########################################
# Set folder names and run names
########################################
runfolders
=
[]
rerunfolders
=
[]
foffolders
=
[]
for
mass
in
mass_resolution_levels
:
for
soft
in
softening_resolutions_in_kpc
:
for
smooth
in
smoothing_resolutions_in_kpc
:
for
sfe
in
star_formation_efficiencies
:
##########################################
runname
=
"
Galaxy
"
+
mass
+
\
"
_soft%4.4ipc
"
%
(
int
(
soft
*
1000
))
+
\
"
_hmin%06.2fpc
"
%
(
smooth
*
1000.
)
+
\
"
_sfe%06.3f
"
%
(
sfe
)
runfolders
.
append
(
os
.
path
.
join
(
folderbase
,
mass
,
runname
)
)
rerunfolders
.
append
(
os
.
path
.
join
(
folderbase
,
mass
+
"
_reruns_snap%4.4i
"
%
(
snapshotnumber
),
"
Rerun
"
+
runname
)
)
foffolders
.
append
(
os
.
path
.
join
(
folderbase
,
mass
+
"
_fofruns_snap%4.4i
"
%
(
snapshotnumber
),
"
FOF
"
+
runname
)
)
filebase_runs
=
[
s
+
"
/output_
"
for
s
in
runfolders
]
filebase_reruns
=
[
s
+
"
/output_
"
for
s
in
rerunfolders
]
filebase_fofruns
=
[
s
+
"
/fof_output_0000.hdf5
"
for
s
in
foffolders
]
runnames
=
[
os
.
path
.
split
(
s
)[
1
]
for
s
in
runfolders
]
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