References
experiment-properties/balancing
summary | ||
public |
F balance_subconditions(balancing_type: string, name: experiment_name, length: dataset_length): [] Returns the balanced order of the subconditions given balancing type, experiment, and number of subconditions. |
experiment-properties/balancing/generators
summary | ||
public |
F initialize_latin_square(size: *): * |
|
public |
F initialize_random_order(length: *): * |
experiment-properties/data
summary | ||
public |
F get_subconditions(experiment: *): * |
|
public |
F create_condition_dataset(base_data: *, condition_data: *): * Appends condition-specific data to the dataset. |
|
public |
F get_data(experiment: *): * Retrieves the data for the corresponding experiment object. |
|
public |
F get_data_subset(experiment: *): * Retrieves a smaller dataset (4 subconditions) given experiment, trial structure and condition. |
|
public |
V CUSTOM_TRIAL_STRUCTURE_CONDITIONS: {"foundational": *, "design": *} |
|
public |
V EXPERIMENT_BASES: {"JND": *, "Stevens": *, "JND_Radius": *, "Estimation": *, "Numerosity": *, "Visual_Search": *} |
|
public |
V EXPERIMENT_CONDITIONS: {"JND": *, "Stevens": *, "JND_Radius": *, "Estimation": *, "Numerosity": *, "Visual_Search": *} |
experiment-properties/data/constants
summary | ||
public |
V ESTIMATION_CONDITIONS: {"shape_estimation": *, "line_length": *, "rectangle_square": *, "rectangle_rotated_square_solid": *, "rectangle_rotated_square_outline": *, "triangle": *, "square_circle_interference": *, "circle_interference": *, "multi_square_interference": *, "multi_shape_interference": *, "multi_fan_interference": *, "absolute_area_ratio": *, "absolute_area_ratio_bisection_variant_A": *, "absolute_area_ratio_bisection_variant_B": *, "multi_fan_interference_B": *, "multi_square_cutout_interference": *, "absolute_area_ratio_flicker": *, "absolute_area_ratio_bisection_variant_A_flicker": *, "multi_fan_interference_B_flicker": *, "multi_square_cutout_interference_flicker": *} |
|
public |
V JND_BASE: {"foundational": *, "design": *} |
|
public |
V JND_CONDITIONS: {"symmetric_jnd": *, "distractor_rainbow": *, "distractor_square_red_hue": *, "distractor_square_red_lum": *, "distractor_square_red_chrom": *, "distractor_square_yellow_hue": *, "distractor_square_yellow_lum": *, "distractor_square_yellow_chrom": *, "distractor_square_blue_hue": *, "distractor_square_blue_lum": *, "distractor_square_blue_chrom": *, "distractor_square_green_hue": *, "distractor_square_green_lum": *, "distractor_square_green_chrom": *, "distractor_multi": *, "distractor_blue_shades": *, "distractor_red_shades": *, "distractor_yellow_shades": *, "distractor_control_shades": *, "strip_ring_size": *, "line_length_strip": *, "stable_line_length_strip": *, "distractor_ratio_pilot": *, "multi_size_scatter": *, "multi_size_scatter_alternate": *, "hollow_scatter": *, "thin_hollow_scatter": *, "bullseye_scatter": *, "large_dot_sizes": *, "mix_point_styles": *} |
|
public |
V JND_RADIUS_BASE: {"foundational": *} |
|
public |
V JND_RADIUS_CONDITIONS: {"circle_square": *, "circle_triangle": *, "square_triangle": *, "rotSquare_rotTriangle": *, "slice0_triangle": *, "slice45_triangle": *, "slice90_triangle": *} |
|
public |
V NUMEROSITY_BASE: {"foundational": *} |
|
public |
V NUMEROSITY_CONDITIONS: {"numerosity_blue_squares": *, "numerosity_red_squares": *, "numerosity_green_squares": *, "numerosity_yellow_squares": *, "distractor_numerosity_red_lum_1": *} |
|
public |
V STEVENS_BASE: {"foundational": *, "design": *} |
|
public |
V STEVENS_CONDITIONS: {"strip_ring_size": *, "line_length_strip": *, "stable_line_length_strip": *, "distractor_square_red_hue": *, "distractor_square_red_lum": *, "distractor_square_red_chrom": *, "distractor_square_yellow_hue": *, "distractor_square_yellow_lum": *, "distractor_square_yellow_chrom": *, "distractor_square_blue_hue": *, "distractor_square_blue_lum": *, "distractor_square_blue_chrom": *, "distractor_square_green_hue": *, "distractor_square_green_lum": *, "distractor_square_green_chrom": *, "distractor_blue_shades": *, "distractor_red_shades": *, "distractor_yellow_shades": *, "distractor_control_shades": *, "hollow_scatter": *, "thin_hollow_scatter": *, "bullseye_scatter": *, "multi_size_scatter": *, "multi_size_scatter_alternate": *, "large_dot_sizes": *, "mix_point_styles": *} |
|
public |
V VISUAL_SEARCH_BASE: {"foundational": *} |
|
public |
V VISUAL_SEARCH_CONDITIONS: {"vs_blue_squares": *} |
experiment-properties/distribution
summary | ||
public |
F generateDistribution(correlation: *, error: *, size: *, numsd: *, mean: *, sd: *): * |
|
public |
F generateRandomDistribution(row: *): * Generates a random population, that can exclude a coordinate set if desired. |
experiment-properties/graphing
summary | ||
public |
F is_custom_plot(experiment: object): boolean Checks if the experiment needs a custom plot. |
|
public |
F prepare_custom_plot(experiment: object): boolean Routes to the correct plotting code in /d3-custom-plots depending on experiment condition. |
|
public |
F plot_distributions(experiment: object): * Main point of entry to determine whether there is a custom plotting code for the condition, or we use one of the standard supported graph plots. |
experiment-properties/graphing/d3-base-plots
summary | ||
public |
F create_ring_plot(attributes: object) D3 code for plotting a ring plot. |
|
public |
F create_scatter_plot(attributes: object) D3 code for setting up scatter plot chart area |
|
public |
F plot_scatter_points(chart: object, xscale: function, yscale: function, data: array, properties: assoc. array) D3 code for appending data to the graph depending on point shape type. |
|
public |
F create_shape_plot(attributes: object) D3 code for setting up shape plot chart area |
|
public |
F create_strip_plot(attributes: object) D3 code for plotting a strip plot. |
experiment-properties/graphing/d3-custom-plots
summary | ||
public |
F create_distractor_scatter_plot(attributes: object) D3 code for setting up scatter plot chart area with distractor dataset (so two-populations per graph) |
|
public |
F create_estimation_bisection_plot(experiment: object) Plots a bisection estimation condition (e.g. |
|
public |
F create_estimation_interference_plot(experiment: object) Plots an interference estimation condition (e.g. |
|
public |
F create_estimation_multi_interference_plot(experiment: object) Plots a multi interference estimation condition (e.g. |
|
public |
F create_estimation_plot(experiment: object) Plots a regular estimation condition |
experiment-properties/instructions
summary | ||
public |
F get_instructions(experiment: object): string Generates the instructions html for the given experiment. |
experiments/estimation
summary | ||
public |
|
|
public |
|
experiments/jnd_radius
summary | ||
public |
|
|
public |
|
experiments/numerosity
summary | ||
public |
|
|
public |
|
experiments/stevens
summary | ||
public |
C Stevens |
|
public |
|
experiments/visual_search
summary | ||
public |
|
|
public |
F get_color_paths(color: *): * |
|
public |
F hex_to_color(color_hex: *): * |
|
public |
|
helpers
summary | ||
public |
F force_greater_right_position(trial: *): * Forces the right graph to always have the greater correlation. |
|
public |
F randomize_position(trial: *): * Randomizes the position of the base and adjusted coordinates being displayed on the left or right graphs, and returns the coordinates for the graphs. |
|
public |
F randomize_radius_position(trial: *, base_radius: *, adjusted_radius: *): * |