Use fit result when showing projection
This commit is contained in:
parent
8c0694bf5e
commit
3bbcc3bbed
2 changed files with 9 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
from gettext import install
|
from gettext import install
|
||||||
from backscattering_analyzer.display import show_projection # type: ignore[reportMissingTypeStubs]
|
from backscattering_analyzer.display import show_projection # type: ignore[reportMissingTypeStubs]
|
||||||
from backscattering_analyzer.experiment import Experiment # type: ignore[reportMissingTypeStubs]
|
from backscattering_analyzer.experiment import AcquisitionType, Experiment # type: ignore[reportMissingTypeStubs]
|
||||||
from logging import basicConfig, getLogger
|
from logging import basicConfig, getLogger
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
from rich.theme import Theme
|
from rich.theme import Theme
|
||||||
|
@ -168,6 +168,12 @@ else:
|
||||||
start_frequency=start_frequency,
|
start_frequency=start_frequency,
|
||||||
end_frequency=end_frequency,
|
end_frequency=end_frequency,
|
||||||
)
|
)
|
||||||
|
experiment.projection_reference = experiment.compute_projection(
|
||||||
|
AcquisitionType.REFERENCE
|
||||||
|
)
|
||||||
|
experiment.projection_excited = experiment.compute_projection(
|
||||||
|
AcquisitionType.EXCITED
|
||||||
|
)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
[benches.SDB1.calib]
|
[benches.SDB1.calib]
|
||||||
bench = 1.15
|
bench = 1.15
|
||||||
mirror = 1.15
|
mirror = 1.15
|
||||||
|
|
||||||
[benches.SDB2]
|
[benches.SDB2]
|
||||||
scatter_factor = [4.1e-13, 0]
|
scatter_factor = [4.1e-13, 0]
|
||||||
[benches.SDB2.calib]
|
[benches.SDB2.calib]
|
||||||
|
@ -32,8 +31,8 @@
|
||||||
[benches.SWEB]
|
[benches.SWEB]
|
||||||
scatter_factor = [1.3e-9, 0]
|
scatter_factor = [1.3e-9, 0]
|
||||||
[benches.SWEB.calib]
|
[benches.SWEB.calib]
|
||||||
bench = 0.98
|
bench = -0.97
|
||||||
mirror = 0.98
|
mirror = 0.97
|
||||||
[dates]
|
[dates]
|
||||||
[dates.2023_03_24]
|
[dates.2023_03_24]
|
||||||
laser = 23
|
laser = 23
|
||||||
|
|
Loading…
Reference in a new issue