Skip to content

Commit

Permalink
FIX: address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed May 13, 2024
1 parent 62cef4a commit 8831f00
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,7 @@
},
"type": {
"description": "Common lineshape type. Use custom to your own expression.",
"enum": [
"custom",
"BlattWeisskopf",
"BreitWigner",
"BreitWignerWidthExpLikeBugg",
"MultichannelBreitWigner"
],
"enumDescriptions": [
"Custom mathematical expression",
"Blatt-Weisskopf barrier factor.",
"Standard Breit–Wigner lineshape.",
"Breit–Wigner lineshape with an exponential slope.",
"Multichannel Breit–Wigner lineshape (Flatté)."
]
"type": "string"
},
"channels": {
"type": "array",
Expand Down Expand Up @@ -187,7 +174,7 @@
"description": "A label for each particle, used for clarity and not as a standardized identifier."
},
"spin": {
"description": "The quantum spin number of the particle, represented in string format",
"description": "The spin quantum number of the particle, represented in string format",
"$ref": "#/definitions/Spin"
}
},
Expand All @@ -211,9 +198,9 @@
"description": "Specifies how the helicity recoupling factor H_{l1,l2} is computed. Each option reflects different ways of relating combinations of the helicity indices to a real-valued factor, the recoupling coefficient.",
"enum": ["ls", "parity", "helicity"],
"enumDescriptions": [
"Recoupling with LS computes the value of the recoupling functions from Clebsch–Gordan coefficients. For spin-half particles, this recoupling scales with the parity factor, with f = (-1)^l.",
"Recoupling with LS computes the value of the recoupling functions from Clebsch–Gordan coefficients.",
"Parity recoupling is controlled by the parity factor and gives a non-zero value for two combination of the helicity pair, the selected one and the opposite.",
"No recoupling. The factor is 1 for a pair of selected helicities and zero for other combinations. Easiest to implement with a Kronecker-Delta."
"No recoupling. The factor is 1 for a pair of selected helicities and zero for other combinations."
]
},
"helicities": {
Expand All @@ -239,10 +226,6 @@
},
"additionalProperties": false,
"allOf": [
{
"if": { "properties": { "type": { "const": "ls" } } },
"then": { "required": ["parity_factor"] }
},
{
"if": { "properties": { "type": { "const": "parity" } } },
"then": { "required": ["parity_factor"] }
Expand Down

0 comments on commit 8831f00

Please sign in to comment.