Adjusted parameters.

This commit is contained in:
Karthik 2025-09-05 11:17:31 +02:00
parent bca81f618f
commit a654bc342c
6 changed files with 17 additions and 23 deletions

View File

@ -3,8 +3,8 @@
% Specify data location to run analysis on
dataSources = {
struct('sequence', 'StructuralPhaseTransition', ...
'date', '2025/07/25', ...
'runs', [25]) % specify run numbers as a string in "" or just as a numeric value
'date', '2025/08/13', ...
'runs', [62]) % specify run numbers as a string in "" or just as a numeric value
};
options = struct();
@ -23,7 +23,7 @@ options.center = [1420, 2050];
options.span = [200, 200];
options.fraction = [0.1, 0.1];
options.pixel_size = 5.86e-6; % in meters
options.magnification = 23.94;
options.magnification = 24.6;
options.ImagingMode = 'HighIntensity';
options.PulseDuration = 5e-6; % in s
@ -74,12 +74,12 @@ switch options.measurementName
options.titleString = 'BEC to Stripes';
case 'DropletsToStripes'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = true;
options.flipSortOrder = false;
options.scanParameterUnits = 'degrees';
options.titleString = 'Droplets to Stripes';
case 'StripesToDroplets'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = false;
options.flipSortOrder = true;
options.scanParameterUnits = 'degrees';
options.titleString = 'Stripes to Droplets';
end

View File

@ -38,12 +38,6 @@ options = datasetStruct.options;
options.font = 'Bahnschrift'; % override if needed
options.skipSaveFigures = false; % override if needed
%% ------------------ Create dataset-specific figure folder ------------------
figSaveDir = fullfile(baseDir,'Results', 'SavedFigures', datasetName);
if ~exist(figSaveDir, 'dir')
mkdir(figSaveDir);
end
%% ------------------ 1. Mean ± Std Plots ------------------
% Plot Radial Spectral Contrast
Plotter.plotMeanWithSE(scan_parameter_values, compiled_results.spectral_analysis_results.radial_spectral_contrast, ...

View File

@ -74,12 +74,12 @@ switch options.measurementName
options.titleString = 'BEC to Stripes';
case 'DropletsToStripes'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = true;
options.flipSortOrder = false;
options.scanParameterUnits = 'degrees';
options.titleString = 'Droplets to Stripes';
case 'StripesToDroplets'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = false;
options.flipSortOrder = true;
options.scanParameterUnits = 'degrees';
options.titleString = 'Stripes to Droplets';
end

View File

@ -3,15 +3,15 @@
% Specify data location to run analysis on
dataSources = {
struct('sequence', 'StructuralPhaseTransition', ...
'date', '2025/07/26', ...
'runs', [8]) % specify run numbers as a string in "" or just as a numeric value
'date', '2025/08/15', ...
'runs', [3]) % specify run numbers as a string in "" or just as a numeric value
};
options = struct();
% File paths
options.baseDataFolder = '//DyLabNAS/Data';
options.FullODImagesFolder = 'E:/Data - Experiment/FullODImages/202507';
options.FullODImagesFolder = 'E:/Data - Experiment/FullODImages/202508';
options.measurementName = 'BECToStripes';
scriptFullPath = mfilename('fullpath');
options.saveDirectory = fileparts(scriptFullPath);
@ -23,7 +23,7 @@ options.center = [1420, 2050];
options.span = [200, 200];
options.fraction = [0.1, 0.1];
options.pixel_size = 5.86e-6; % in meters
options.magnification = 23.94;
options.magnification = 24.6;
options.ImagingMode = 'HighIntensity';
options.PulseDuration = 5e-6; % in s
@ -74,12 +74,12 @@ switch options.measurementName
options.titleString = 'BEC to Stripes';
case 'DropletsToStripes'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = true;
options.flipSortOrder = false;
options.scanParameterUnits = 'degrees';
options.titleString = 'Droplets to Stripes';
case 'StripesToDroplets'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = false;
options.flipSortOrder = true;
options.scanParameterUnits = 'degrees';
options.titleString = 'Stripes to Droplets';
end

View File

@ -11,14 +11,14 @@ if useLocalBaseDir
baseDir = fullfile(thisScriptDir, 'Results');
else
% Use manually specified folder
baseDir = 'E:\Results - Experiment\202508\BECToDropletsToStripes\';
baseDir = 'E:\Results - Experiment\202508\BECToStripesToDroplets\';
end
% Prepare storage
scanValsCell = cell(1, numel(datasetIdxList));
meanValsCell = cell(1, numel(datasetIdxList));
stderrValsCell = cell(1, numel(datasetIdxList));
labelsCell = {'2.25 G', '2.20 G', '2.15 G', '2.10 G', '2.05 G', '2.00 G'};
labelsCell = {'2.35 G', '2.30 G', '2.25 G', '2.20 G', '2.15 G', '2.10 G'};
% --- Load options from first dataset to set plotting defaults ---
datasetIdx = datasetIdxList(1);

View File

@ -74,12 +74,12 @@ switch options.measurementName
options.titleString = 'BEC to Stripes';
case 'DropletsToStripes'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = true;
options.flipSortOrder = false;
options.scanParameterUnits = 'degrees';
options.titleString = 'Droplets to Stripes';
case 'StripesToDroplets'
options.scan_parameter = 'ps_rot_mag_fin_pol_angle';
options.flipSortOrder = false;
options.flipSortOrder = true;
options.scanParameterUnits = 'degrees';
options.titleString = 'Stripes to Droplets';
end