Skip to content

Commit 81ec37c

Browse files
committed
up
1 parent b92002c commit 81ec37c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ext/CatalystStructuralIdentifiabilityExtension/structural_identifiability_extension.jl

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
# For a reaction system, list of measured quantities and known parameters, generate a StructuralIdentifiability compatible ODE.
44
"""
5-
make_si_ode(rs::ReactionSystem; measured_quantities=observed(rs), known_p = Num[], ignore_no_measured_warn=false)
5+
make_si_ode(rs::ReactionSystem; measured_quantities=observed(rs), known_p = [], ignore_no_measured_warn=false)
66
77
Creates a ODE system of the form used within the StructuralIdentifiability.jl package. The output system is compatible with all StructuralIdentifiability functions.
88
99
Arguments:
1010
- `rs::ReactionSystem`; The reaction system we wish to convert to an ODE.
1111
- `measured_quantities=[]`: The quantities of the system we can measure. May either be equations (e.g. `x1 + x2`), or single species (e.g. the symbolic `x`, `rs.s`, or the symbol `:x`).
12-
- `known_p = Num[]`: List of parameters which values are known.
12+
- `known_p = []`: List of parameters which values are known.
1313
- `ignore_no_measured_warn = false`: If set to `true`, no warning is provided when the `measured_quantities` vector is empty.
1414
- `remove_conserved = true`: Whether to eliminate conservation laws when computing the ode (this can reduce runtime of identifiability analysis significantly).
1515
@@ -38,14 +38,14 @@ end
3838
### Structural Identifiability Wrappers ###
3939

4040
"""
41-
assess_local_identifiability(rs::ReactionSystem, args...; measured_quantities = Num[], known_p = Num[],, remove_conserved = true, ignore_no_measured_warn=false, kwargs...)
41+
assess_local_identifiability(rs::ReactionSystem, args...; measured_quantities = [], known_p = [], remove_conserved = true, ignore_no_measured_warn=false, kwargs...)
4242
4343
Applies StructuralIdentifiability.jl's `assess_local_identifiability` function to a Catalyst `ReactionSystem`. Internally it is converted ot a `ODESystem`, for which structural identifiability is computed.
4444
4545
Arguments:
4646
- `rs::ReactionSystem`; The reaction system we wish to compute structural identifiability for.
4747
- `measured_quantities=[]`: The quantities of the system we can measure. May either be equations (e.g. `x1 + x2`), or single species (e.g. the symbolic `x`, `rs.s`, or the symbol `:x`).
48-
- `known_p = Num[]`: List of parameters which values are known.
48+
- `known_p = []`: List of parameters which values are known.
4949
- `ignore_no_measured_warn = false`: If set to `true`, no warning is provided when the `measured_quantities` vector is empty.
5050
- `remove_conserved = true`: Whether to eliminate conservation laws when computing the ode (this can reduce runtime of identifiability analysis significantly).
5151
@@ -62,8 +62,8 @@ Notes:
6262
- This function is part of the StructuralIdentifiability.jl extension. StructuralIdentifiability.jl must be imported to access it.
6363
- `measured_quantities` and `known_p` input may also be symbolic (e.g. measured_quantities = [rs.X])
6464
"""
65-
function SI.assess_local_identifiability(rs::ReactionSystem, args...; measured_quantities = Num[],
66-
known_p = Num[], funcs_to_check = Vector(), remove_conserved = true,
65+
function SI.assess_local_identifiability(rs::ReactionSystem, args...; measured_quantities = [],
66+
known_p = [], funcs_to_check = Vector(), remove_conserved = true,
6767
ignore_no_measured_warn=false, kwargs...)
6868
# Creates a ODESystem, list of measured quantities, and functions to check, of SI's preferred form.
6969
osys, conseqs, vars = make_osys(rs; remove_conserved)
@@ -76,14 +76,14 @@ function SI.assess_local_identifiability(rs::ReactionSystem, args...; measured_q
7676
end
7777

7878
"""
79-
assess_identifiability(rs::ReactionSystem, args...; measured_quantities = Num[], known_p = Num[],, remove_conserved = true, ignore_no_measured_warn=false, kwargs...)
79+
assess_identifiability(rs::ReactionSystem, args...; measured_quantities = [], known_p = [], remove_conserved = true, ignore_no_measured_warn=false, kwargs...)
8080
8181
Applies StructuralIdentifiability.jl's `assess_identifiability` function to a Catalyst `ReactionSystem`. Internally it is converted ot a `ODESystem`, for which structural identifiability is computed.
8282
8383
Arguments:
8484
- `rs::ReactionSystem`; The reaction system we wish to compute structural identifiability for.
8585
- `measured_quantities=[]`: The quantities of the system we can measure. May either be equations (e.g. `x1 + x2`), or single species (e.g. the symbolic `x`, `rs.s`, or the symbol `:x`).
86-
- `known_p = Num[]`: List of parameters which values are known.
86+
- `known_p = []`: List of parameters which values are known.
8787
- `ignore_no_measured_warn = false`: If set to `true`, no warning is provided when the `measured_quantities` vector is empty.
8888
- `remove_conserved = true`: Whether to eliminate conservation laws when computing the ode (this can reduce runtime of identifiability analysis significantly).
8989
@@ -100,7 +100,7 @@ Notes:
100100
- This function is part of the StructuralIdentifiability.jl extension. StructuralIdentifiability.jl must be imported to access it.
101101
- `measured_quantities` and `known_p` input may also be symbolic (e.g. measured_quantities = [rs.X])
102102
"""
103-
function SI.assess_identifiability(rs::ReactionSystem, args...; measured_quantities = Num[], known_p = Num[],
103+
function SI.assess_identifiability(rs::ReactionSystem, args...; measured_quantities = [], known_p = [],
104104
funcs_to_check = Vector(), remove_conserved = true, ignore_no_measured_warn=false,
105105
kwargs...)
106106
# Creates a ODESystem, list of measured quantities, and functions to check, of SI's preferred form.
@@ -114,14 +114,14 @@ function SI.assess_identifiability(rs::ReactionSystem, args...; measured_quantit
114114
end
115115

116116
"""
117-
find_identifiable_functions(rs::ReactionSystem, args...; measured_quantities = Num[], known_p = Num[],, remove_conserved = true, ignore_no_measured_warn=false, kwargs...)
117+
find_identifiable_functions(rs::ReactionSystem, args...; measured_quantities = [], known_p = [], remove_conserved = true, ignore_no_measured_warn=false, kwargs...)
118118
119119
Applies StructuralIdentifiability.jl's `find_identifiable_functions` function to a Catalyst `ReactionSystem`. Internally it is converted ot a `ODESystem`, for which structurally identifiable functions are computed.
120120
121121
Arguments:
122122
- `rs::ReactionSystem`; The reaction system we wish to compute structural identifiability for.
123123
- `measured_quantities=[]`: The quantities of the system we can measure. May either be equations (e.g. `x1 + x2`), or single species (e.g. the symbolic `x`, `rs.s`, or the symbol `:x`).
124-
- `known_p = Num[]`: List of parameters which values are known.
124+
- `known_p = []`: List of parameters which values are known.
125125
- `ignore_no_measured_warn = false`: If set to `true`, no warning is provided when the `measured_quantities` vector is empty.
126126
- `remove_conserved = true`: Whether to eliminate conservation laws when computing the ode (this can reduce runtime of identifiability analysis significantly).
127127
@@ -138,8 +138,8 @@ Notes:
138138
- This function is part of the StructuralIdentifiability.jl extension. StructuralIdentifiability.jl must be imported to access it.
139139
- `measured_quantities` and `known_p` input may also be symbolic (e.g. measured_quantities = [rs.X])
140140
"""
141-
function SI.find_identifiable_functions(rs::ReactionSystem, args...; measured_quantities = Num[],
142-
known_p = Num[], remove_conserved = true, ignore_no_measured_warn=false,
141+
function SI.find_identifiable_functions(rs::ReactionSystem, args...; measured_quantities = [],
142+
known_p = [], remove_conserved = true, ignore_no_measured_warn=false,
143143
kwargs...)
144144
# Creates a ODESystem, and list of measured quantities, of SI's preferred form.
145145
osys, conseqs = make_osys(rs; remove_conserved)

0 commit comments

Comments
 (0)