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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This variable specifies which type of image processing should be used.
|
| 2 |
+
# Currently, the options are "hydrogen" for hydrogen film-related image
|
| 3 |
+
# processing, and "intensity", for any image processing that only focuses on
|
| 4 |
+
# the intensities.
|
| 5 |
+
image_processing_type: "intensity"
|
| 6 |
+
|
| 7 |
+
# This variable should be set to True if the image processing is for
|
| 8 |
+
# calibration, and False otherwise.
|
| 9 |
+
is_calibration: False
|
| 10 |
+
|
| 11 |
+
# If this variable is set to True, figures will be displayed in
|
| 12 |
+
# image_processing.ipynb. Otherwise, no figures will be display.
|
| 13 |
+
#
|
| 14 |
+
# NOTE: aside from the figures related to the masks, the figures generated
|
| 15 |
+
# in this notebook are never saved.
|
| 16 |
+
display_figures: True
|
| 17 |
+
|
| 18 |
+
# This variable specifies the absolute parent directory that contains the
|
| 19 |
+
# data for all experiments.
|
| 20 |
+
parent_data_directory: "e:\\Image Analysis"
|
| 21 |
+
|
| 22 |
+
# This variable specifes the name of the project. A sub-folder of the same
|
| 23 |
+
# name should exist in the parent_data_directory.
|
| 24 |
+
project_name: "Amide Bond formation"
|
| 25 |
+
|
| 26 |
+
# This variable specifes the name of the experiment. A sub-folder of the same
|
| 27 |
+
# name should exist with the project_name directory. This directory should
|
| 28 |
+
# contain an "input" sub-directory (the structure of this directory is
|
| 29 |
+
# specified in the README.txt). The "input" sub-directory will contain all
|
| 30 |
+
# image/mask inputs for the image processing.
|
| 31 |
+
experiment_name: "6-10-24-Venusaur"
|
| 32 |
+
|
| 33 |
+
# This variable specifies the number of columns in each row of wells, including
|
| 34 |
+
# the reference wells. The rows are ordered from top to bottom in the mask
|
| 35 |
+
# image. The total number of wells must match the number of wells in the
|
| 36 |
+
# input mask image.
|
| 37 |
+
columns_per_row: [12, 12, 13, 13, 13, 13, 12, 12]
|
| 38 |
+
|
| 39 |
+
# This variable is used to specify the wells that are reference or empty
|
| 40 |
+
# wells in the masks.
|
| 41 |
+
#
|
| 42 |
+
# Reference wells are specified by mapping a string of the form "(a,b)", where
|
| 43 |
+
# a is the 0-indexed row and b is the 0-indexed column, to "ref" (for reference
|
| 44 |
+
# wells) or "empty" (for empty wells).
|
| 45 |
+
#
|
| 46 |
+
# NOTE: if you have multiple masks, the reference and empty wells should be in
|
| 47 |
+
# the same positions.
|
| 48 |
+
#
|
| 49 |
+
# NOTE: "empty" wells may cause the intensity/post-processed data figures in the
|
| 50 |
+
# notebook to display in an unusual way (this is because the ordering does not
|
| 51 |
+
# account for columns, so labeling a well as "empty" will cause the sample
|
| 52 |
+
# labels in the same row to shift as if the well was not there).
|
| 53 |
+
ref_or_empty: {"(2,12)": "ref","(3,12)": "ref","(4,12)": "ref","(5,12)": "ref"}
|
| 54 |
+
|
| 55 |
+
# This variable specifies the image channels to be used for analysis. Multiple
|
| 56 |
+
# channels can be passed in, and each channel will be analyzed separately.
|
| 57 |
+
# There are four options: "blue", "green", "red", and "average". "blue",
|
| 58 |
+
# "green", and "red" analyze the blue, green, and red channels of the input
|
| 59 |
+
# images respectively. "average" causes the blue, green, and red channels
|
| 60 |
+
# to be averaged together and then analyzed.
|
| 61 |
+
analysis_channels: ["average"]
|
| 62 |
+
|
| 63 |
+
# If this variable is True, the reference and sample wells will be normalized
|
| 64 |
+
# by the average intensity of the reference wells in each image. If this
|
| 65 |
+
# variable is False, normalization by the average intensity of the reference
|
| 66 |
+
# wells will not occur.
|
| 67 |
+
normalize_by_reference: True
|
| 68 |
+
|
| 69 |
+
# This variable specifies the requested outputs for the image processing
|
| 70 |
+
# for each image dataset. NOTE, each mask should have an entry specified
|
| 71 |
+
# in this dictionary. Each sub-dictionary maps the desired output
|
| 72 |
+
# property. "True" means the property will be saved in the output csv.
|
| 73 |
+
# "False" means the property will not be saved.
|
| 74 |
+
requested_outputs:
|
| 75 |
+
{
|
| 76 |
+
"white": {"Normalized Raw Reference Intensity" : True,
|
| 77 |
+
"Normalized Reference Intensity": True,
|
| 78 |
+
"Normalized Sample Intensity": True}}
|
| 79 |
+
|
| 80 |
+
# This dictionary stores the calibration coefficients for each reactor.
|
| 81 |
+
# The entries should be labeled with the reactor name. The sub-dictionaries
|
| 82 |
+
# contain the coefficients for the quadratic or linear fit. For a quadratic fit,
|
| 83 |
+
# there should be three entries in the sub-dictionary: "a", "b", and "c" (where
|
| 84 |
+
# the fit is ax^2 + bx + c). For a linear fit, there should be two entries in
|
| 85 |
+
# the sub-dictionary: "a" and "b" (where the fit is ax + b).
|
| 86 |
+
# Once a calibration is complete, the constants should be added here.
|
| 87 |
+
reactor_calibration_coefficients:
|
| 88 |
+
{"gastly": {"a": 0.943543, "b": -1.22109, "c": 0.973533},
|
| 89 |
+
"rattata": {"a": 0.968379, "b": -1.26827, "c": 0.982771},
|
| 90 |
+
"snorlax": {"a": 1.0029, "b": -1.26733, "c": 0.980978},
|
| 91 |
+
"torchic": {"a": 1.3072, "b": -1.3966, "c": 1.0055}}
|
| 92 |
+
|
| 93 |
+
# The name of the reactor used for this experiment. This must match one of the
|
| 94 |
+
# entries in reactor_calibration_coefficients.
|
| 95 |
+
reactor_name: "gastly"
|
| 96 |
+
|
| 97 |
+
# This variable specifies the volume of the vials. The units are specified
|
| 98 |
+
# below with the "volume_units" variable.
|
| 99 |
+
vial_volume: 1.1
|
| 100 |
+
|
| 101 |
+
# This variable specifies the per-well solution volume. It should have the
|
| 102 |
+
# same shape as the sample well array. The units are specified below with the
|
| 103 |
+
# "volume_units" variable.
|
| 104 |
+
solution_volumes: [[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42],
|
| 105 |
+
[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42],
|
| 106 |
+
[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42],
|
| 107 |
+
[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42],
|
| 108 |
+
[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42],
|
| 109 |
+
[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42],
|
| 110 |
+
[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42],
|
| 111 |
+
[0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42, 0.42]]
|
| 112 |
+
|
| 113 |
+
# This variable specifies the time units used for the calculations. The valid
|
| 114 |
+
# options are "second", "minute", and "hour".
|
| 115 |
+
time_units: "minute"
|
| 116 |
+
|
| 117 |
+
# This variable specifes the volume units used for the calculations. The valid
|
| 118 |
+
# options are "L", "mL", and "uL" (micro liter).
|
| 119 |
+
volume_units: "mL"
|
| 120 |
+
|
| 121 |
+
# This variable specifes the amount units used for the calculations. The valid
|
| 122 |
+
# options are "mol", "mmol", and "umol" (micro mol).
|
| 123 |
+
amount_units: "umol"
|
| 124 |
+
|
| 125 |
+
# Variables used for the Savitsky-Golay Filter used to compute a smoothed
|
| 126 |
+
# derivative for the hydrogen rate.
|
| 127 |
+
|
| 128 |
+
# This variable determines the window size for the Savitzky-Golay filter, which
|
| 129 |
+
# is used to compute a smoothed derivative of the hydrogen amount (in order
|
| 130 |
+
# to compute the rate). This value should be less than or equal to the
|
| 131 |
+
# number of images.
|
| 132 |
+
savitzky_golay_window: 22
|
| 133 |
+
|
| 134 |
+
# This variable determines the polynomial degree for the Savitzky-Golay filter,
|
| 135 |
+
# which is used to compute a smoothed derivative of the hydrogen amount (in
|
| 136 |
+
# order to compute the rate). This value should be less than the
|
| 137 |
+
# savitzky_golay_window value.
|
| 138 |
+
savitzky_golay_degree: 2
|
| 139 |
+
|
| 140 |
+
# This variable specifies the fraction of the per-well max hydrogen that
|
| 141 |
+
# must be reached for the incubation period to be considered complete.
|
| 142 |
+
# It should be greater than or equal to 0, less than or equal to 1, and
|
| 143 |
+
# less than the plateau_threshold_fraction.
|
| 144 |
+
incubation_threshold_fraction: 0.05
|
| 145 |
+
|
| 146 |
+
# This variable specifies the fraction of the per-well max hydrogen that
|
| 147 |
+
# must be reached for the plateau period to begin. It should be greater
|
| 148 |
+
# than 0, less than or equal to 1, and greater than the
|
| 149 |
+
# incubation_threshold_fraction.
|
| 150 |
+
plateau_threshold_fraction: 0.90
|
| 151 |
+
|
| 152 |
+
# This list specifies the image datasets that should be used to generate movies.
|
| 153 |
+
# Each entry in this list should correspond to the name of the image directory
|
| 154 |
+
# for the desired image dataset. The list can be empty, in which case no
|
| 155 |
+
# movies will be generated.
|
| 156 |
+
movies_to_be_generated: ["white"]
|
| 157 |
+
|
| 158 |
+
# This variable specifies the frames per second to use in the generated movies.
|
| 159 |
+
frames_per_second: 15
|