This is a simple code to calculate Q10 values for circadian period length by using SciPy Optimize non-linear least squares fit on Google Colab.
This program is for calculating Q10 values and plotting data only. Your data entered to this calculator will not be recorded or stored in any location (please see the code).
This calculator fits an exponential equation:
Taut = Tau37 / ( Q10 ** ( ( t - 37 ) * 0.1 ) )
to a set of data points, and estimates a period length at 37˚C (Tau37) and temperature coefficient (Q10).
For cyanobacteria data, it fits an exponential equation:
Taut = Tau30 / ( Q10 ** ( ( t - 30 ) * 0.1 ) )
to a set of data points, and estimates a period length at 30˚C (Tau30) and temperature coefficient (Q10).
Open the calculator (Google Colab notebook)
Click on the link below:
https://colab.research.google.com/github/dxda6216/q10/blob/main/circadian_period_q10.ipynb
For cyanobacteria data, please use:
https://colab.research.google.com/github/dxda6216/q10/blob/main/circadian_period_q10_for_cyano.ipynb
Note: To use the Colab, you will need to login to your Google account.
Sample Description
To the "Data_description" input form, enter a description of your sample. This field can be blank.
Data_description: Enter a description of your sample.
Temperature and Period Data
Enter your data into the "Temperatures" and "Periods" input forms. For example, if you have the following dataset
Temp (˚C) Period (hr) 32.2 28.5 35.3 27.1 37.0 24.2 39.6 22.6 41.8 20.7
enter your data as follows:
Temperatures: 32.2, 35.3, 37.0, 39.6, 41.8 Periods: 28.5, 27.1, 24.2, 22.6, 20.7
The values should be delimited by a single comma. Leading and trailing spaces will be ignored.
Data Plotting
Scales of X-axis and Y-axis, ticks, etc will automatically be adjusted.
Exporting Dataset and Fitted Curve
To output the dataset and fitted curve in tab-delimited format, select "Yes" in the "Display_tab_delimited_data" dropdown, and 2-column datasets will be displayed. To export the data to Excel, copy the 2-column dataset and paste it onto an Excel worksheet (right click -> Paste Options: Paste Special... -> Paste as Unicode Text -> click "OK").
If you have period data obtained only at 2 different temperatures (only 2 data points), please see: https://github.com/dxda6216/q10_two_temperatures