Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
binary_c-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Izzard, Robert Dr (Maths & Physics)
binary_c-python
Commits
0df4d869
Commit
0df4d869
authored
3 years ago
by
David Hendriks
Browse files
Options
Downloads
Patches
Plain Diff
updated the grid by splitting the ms functinality and making it available for other functions
parent
1cd1bcf4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
binarycpython/utils/grid.py
+461
-328
461 additions, 328 deletions
binarycpython/utils/grid.py
binarycpython/utils/grid_options_defaults.py
+4
-0
4 additions, 0 deletions
binarycpython/utils/grid_options_defaults.py
with
465 additions
and
328 deletions
binarycpython/utils/grid.py
+
461
−
328
View file @
0df4d869
This diff is collapsed.
Click to expand it.
binarycpython/utils/grid_options_defaults.py
+
4
−
0
View file @
0df4d869
...
...
@@ -46,6 +46,8 @@ grid_options_defaults_dict = {
"
_zero_prob_stars_skipped
"
:
0
,
"
ensemble_factor_in_probability_weighted_mass
"
:
False
,
# Whether to multiply the ensemble results by 1/probability_weighted_mass
"
multiplicity_fraction_function
"
:
0
,
# Which multiplicity fraction function to use. 0: None, 1: Arenou 2010, 2: Rhagavan 2010, 3: M&S 2017
"
_m&s_options
"
:
None
,
# Holds the M&S options.
"
_loaded_ms_data
"
:
False
,
# Holds flag whether the M&S data is loaded into memory
##########################
# Execution log:
##########################
...
...
@@ -489,6 +491,8 @@ grid_options_descriptions = {
"
_zero_prob_stars_skipped
"
:
"
Internal counter to track how many systems are skipped because they have 0 probability
"
,
"
ensemble_factor_in_probability_weighted_mass
"
:
"
Flag to multiply all the ensemble results with 1/probability_weighted_mass
"
,
"
multiplicity_fraction_function
"
:
"
Which multiplicity fraction function to use. 0: None, 1: Arenou 2010, 2: Rhagavan 2010, 3: M&S 2017
"
,
"
_m&s_options
"
:
"
Internal variable that holds the M&S options. Don
'
t write to this your self
"
,
"
_loaded_ms_data
"
:
"
Internal variable storing whether the M&S data has been loaded into memory
"
,
}
###
...
...
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