mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Add others excitationType
This commit is contained in:
parent
c5b02bc94b
commit
c38cf55e79
@ -5,6 +5,7 @@ class excitationTypes {
|
|||||||
static get nPis() { return new excitationType(1 << 3, String.raw`n \rightarrow \pi^\star`) }
|
static get nPis() { return new excitationType(1 << 3, String.raw`n \rightarrow \pi^\star`) }
|
||||||
static get Single() { return new excitationType(1 << 4, "S") }
|
static get Single() { return new excitationType(1 << 4, "S") }
|
||||||
static get Double() { return new excitationType(1 << 5, "D") }
|
static get Double() { return new excitationType(1 << 5, "D") }
|
||||||
|
static get Others() { return new excitationType(1 << 6, String.raw`\mathrm{Others}`) }
|
||||||
static get All() {
|
static get All() {
|
||||||
var lst = []
|
var lst = []
|
||||||
for (const prop of Object.getOwnPropertyNames(excitationTypes)) {
|
for (const prop of Object.getOwnPropertyNames(excitationTypes)) {
|
||||||
@ -138,6 +139,9 @@ class excitationBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else{
|
||||||
|
this.type.Value=excitationTypes.Others
|
||||||
|
}
|
||||||
this.T1 = T1
|
this.T1 = T1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user