Class containing functions for relaxation curve fitting.
|
|
numpy array
|
|
numpy diagonal matrix
|
|
float
|
_back_calc(self,
spin=None,
relax_time_id=None)
Back-calculation of peak intensity for the given relaxation time. |
source code
|
|
|
|
float
|
_func(self,
params)
Wrapper function for the C module, for converting numpy arrays. |
source code
|
|
|
_dfunc(self,
params)
Wrapper function for the C module, for converting numpy arrays. |
source code
|
|
|
_d2func(self,
params)
Wrapper function for the C module, for converting numpy arrays. |
source code
|
|
(int, list of lists [int, float, float])
|
_grid_search_setup(self,
spin=None,
param_vector=None,
lower=None,
upper=None,
inc=None,
scaling_matrix=None)
The grid search setup function. |
source code
|
|
|
|
|
|
|
_relax_time(self,
time=0.0,
spectrum_id=None)
Set the relaxation time period associated with a given spectrum. |
source code
|
|
|
|
list of floats
|
|
|
|
|
grid_search(self,
lower=None,
upper=None,
inc=None,
constraints=True,
verbosity=1,
sim_index=None)
The exponential curve fitting grid search method. |
source code
|
|
|
minimise(self,
min_algor=None,
min_options=None,
func_tol=None,
grad_tol=None,
max_iterations=None,
constraints=False,
scaling=True,
verbosity=0,
sim_index=None,
lower=None,
upper=None,
inc=None)
Relaxation curve fitting minimisation method. |
source code
|
|
|
|
list of float
|
|
list of float
|
|
None
|
|
|
|
Inherited from api_base.API_base :
back_calc_ri ,
base_data_loop ,
bmrb_read ,
bmrb_write ,
calculate ,
constraint_algorithm ,
data_names ,
data_type ,
default_value ,
deselect ,
duplicate_data ,
eliminate ,
get_param_names ,
get_param_values ,
has_errors ,
is_spin_param ,
map_bounds ,
model_desc ,
model_loop ,
model_statistics ,
model_type ,
molmol_macro ,
num_instances ,
pymol_macro ,
read_columnar_results ,
return_conversion_factor ,
return_data_desc ,
return_data_name ,
return_grace_string ,
return_value ,
set_error ,
set_param_values ,
set_selected_sim ,
set_update ,
sim_init_values ,
sim_return_chi2 ,
sim_return_param ,
sim_return_selected ,
skip_function ,
test_grid_ops
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
Inherited from api_common.API_common (private):
_base_data_loop_spin ,
_create_mc_relax_data ,
_data_init_dummy ,
_data_init_spin ,
_eliminate_false ,
_has_errors_spin ,
_is_spin_param_true ,
_model_loop_single_global ,
_model_loop_spin ,
_model_type_global ,
_model_type_local ,
_num_instances_spin ,
_overfit_deselect_dummy ,
_return_data_relax_data ,
_return_error_relax_data ,
_return_no_conversion_factor ,
_return_value_general ,
_set_error_spin ,
_set_param_values_global ,
_set_param_values_spin ,
_set_selected_sim_global ,
_set_selected_sim_spin ,
_set_update ,
_sim_init_values_spin ,
_sim_pack_relax_data ,
_sim_return_chi2_spin ,
_sim_return_param_spin ,
_sim_return_selected_global ,
_sim_return_selected_spin ,
_test_grid_ops_general
|