File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ Important Notes
2424 been updated.
2525 To access the behavior used in ``pyhf `` ``v0.6.x `` use the ``suggested_fixed_as_bool `` attribute.
2626 (PR :pr: `1639 `)
27+ * The order of model parameters is now sorted by model parameter name.
28+ (PR :pr: `1625 `)
2729* Support for writing user custom modifiers is added.
2830 (PRs :pr: `1625 `, :pr: `1644 `)
2931* Performance in :class: `pyhf.readxml ` is increased by improvements to
@@ -112,6 +114,23 @@ Python API
112114 To access the behavior used in ``pyhf `` ``v0.6.x `` use the ``suggested_fixed_as_bool `` attribute.
113115 (PR :pr: `1639 `)
114116
117+ * The order of model parameters is now sorted by model parameter name.
118+ (PR :pr: `1625 `)
119+
120+ .. code :: pycon
121+
122+ >>> import pyhf
123+ >>> model = pyhf.simplemodels.correlated_background(
124+ ... signal=[12.0, 11.0],
125+ ... bkg=[50.0, 52.0],
126+ ... bkg_up=[45.0, 57.0],
127+ ... bkg_down=[55.0, 47.0],
128+ ... )
129+ >>> model.config.par_order
130+ ['correlated_bkg_uncertainty', 'mu']
131+ >>> model.config.par_names()
132+ ['correlated_bkg_uncertainty', 'mu']
133+
115134 * Support for writing user custom modifiers is added.
116135 (PRs :pr: `1625 `, :pr: `1644 `)
117136
You can’t perform that action at this time.
0 commit comments