Conversation
…ntation of global global fitting
# Conflicts: # src/pychemelt/main.py # src/pychemelt/thermal_oligomer.py # src/pychemelt/utils/fitting.py # src/pychemelt/utils/fractions.py # src/pychemelt/utils/plotting.py # src/pychemelt/utils/signals.py # tests/test_math.py
|
|
||
| rng = np.random.default_rng(RNG_SEED) | ||
|
|
||
| def_params = { |
There was a problem hiding this comment.
Add tests with different Cp values, explore how much values differ from the true ones by assuming Cp=0. Remember to add options to give Cp or fit Cp. For the two-state models, Cp should be given or fitted. For three-state, the two alternatives are: asssume both cp are zero, or give total cp and fit cp1
There was a problem hiding this comment.
Added tests. The fitting of the CP1 value when CpTh value is not very accurate while the other parameters seem to be more stable, when tested in simulations at least
|
I still have problems with the "normalise_to_global_max" option at select_conditions for the thermal oligomer functions. I believe the problem is the different signal scale the function fits to (0-100 for the normalised and ~0.001-0.1 for not normalised), screwing up the parameters. It still fits well to the curves but the Tm and DH don't make sense while Cp0 is correct. Tm and Dhm are always lower than the corrct one of the simulation for dimer, trimer and tetramer which increases linearly with a larger number of subunits. I am unsure how to solve this nicely. I would either Not sure how to proceed |
|
Hi Flo, ein Paar Kommentaren:
FAILED tests/test_main_therm_oligo_three_state.py::test_fit_thermal_unfolding_three_state_global_global_tetramer_monomeric - AssertionError: Mismatched elements: 1 / 4 (25%)
LG, Osva |
Three state fitting with tests