<jupyter_start><jupyter_text>Module for determining temperature from experimental Raman intensities of the vibration-rotation bands of H2, HD and D2 This module requires edits to be made earlier in order, i) to load experimental data, ii) choose the specific residual function.<jupyter_code>import T_determn_parallel
# listing all available functions

from inspect import getmembers, isfunction
import pprint
    
functions_list = getmembers(T_determn_parallel, isfunction)
pprint.pprint(functions_list)
## testing 

T_determn_parallel.residual_Q_D2( 255 )
T_determn_parallel.run_fit_D2( 298 )
T_determn_parallel.run_fit_D2_O2S0( 300 )
# listing all available variables and functions 

pprint.pprint(dir(T_determn_parallel))<jupyter_output>['__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__spec__',
 'bp',
 'clean_mat',
 'compute_series_para',
 'dataD2OS',
 'dataD2Q',
 'dataD2Q4',
 'dataD2_Q2',
 'dataH2Q',
 'dataHDQ',
 'data_error',
 'datetime',
 'fileh',
 'formatter',
 'gen_intensity_mat',
 'gen_weight',
 'inverse',
 'inverse_square',
 'log',
 'logger',
 'logging',
 'math',
 'norm',
 'np',
 'opt',
 'os',
 'plt',
 'residual_O2S0_D2',
 'residual_Q_D2',
 'residual_Q_D2_234',
 'residual_Q_H2',
 'residual_Q_HD',
 'residual_Q_test',
 'run_fit_D2',
 'run_fit_D2_234',
 'run_fit_D2_O2S0',
 'run_fit_H2',
 'run_fit_HD',
 'sys',
 'temp_init',
 'test']<jupyter_text>--- Perpendicularly polarized Raman intensitiesPerpendicular polarization defined relative to the incident linearly polarized laser beam. -  Care must be taken that the Q(J=0) is theoretically zero.  To tackle this, in the computed data Q(J=0) is removed. The experimental data for this transition is also not included.<jupyter_code>import T_determn_perpendicular
# testing residual function

T_determn_perpendicular.residual_Q_D2( 325)
T_determn_perpendicular.run_fit_D2( 325 )<jupyter_output>**********************************************************
		 -- Temperature determination -- 
		Norm (defn of residual):  Frobenius
Initial coef :  T=325,   output = 1.0659344452609743

Optimization run: D2     

 final_simplex: (array([[296.76686178],
       [296.76686177]]), array([0.00261198, 0.00261198]))
           fun: 0.0026119813973771466
       message: 'Optimization terminated successfully.'
          nfev: 79
           nit: 38
        status: 0
       success: True
             x: array([296.76686178])

Optimized result : T=296.766862  

**********************************************************
{'fraction_non_alphanumeric': 0.1518987341772152, 'fraction_numerical': 0.06210443037974683, 'mean_word_length': 5.198529411764706, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '411012', 'license': 'MIT', 'n_tokens_mistral': 997, 'n_tokens_neox': 858, 'n_words': 207, 'path': 'PythonModule/determine_C2/vibration_rotation_H2_HD_D2/temperature_determination/example/example_temperature_determination.ipynb', 'repo_name': 'ankit7540/IntensityCalbr', 'size': '2528'}