GPUE  v1.0
GPU Gross-Pitaevskii Equation numerical solver for Bose-Einstein condensates
binData.m File Reference

Go to the source code of this file.

Functions

if length (idx) >0 g6B(kk)
 
% Average the values in a bin else g6B (kk)=0
 

Variables

 function [g6B, bin]
 
 g6B = zeros(length(bin)-1,1)
 
for kk
 

Function Documentation

◆ g6B()

% Average the values in a bin else g6B ( kk  )
pure virtual

◆ length()

if length ( idx  )

Variable Documentation

◆ function

function[g6B, bin]
Initial value:
= binData(g6C,binMax,bins)
%Bin the data returned from g6_struct into equi-separated partitions
% g6C: Matrix containing the g6 values output from g6_struct
% binMax: The maximum binning value
% bins: The number of bins to take
%Returns
% g6B: The binned g6 data
% bin: The bin values of g6B
bin = linspace(0,binMax,bins)
% Indexing needs to % be modified if you wish to use the ordered data sets % Calculate the Voronoi diagram of the resulting data
Definition: VtxCorr.m:36
end g6C
Definition: g6_struct.m:30

Definition at line 1 of file binData.m.

◆ g6B

g6B = zeros(length(bin)-1,1)

Definition at line 11 of file binData.m.

◆ kk

for kk
Initial value:
=1:(length(bin)-1)
idx = find( g6C(1,:) >= bin(kk) & g6C(1,:) < bin(kk+1) )
vtxLost idx
Definition: loadVtx.m:15
for kk
Definition: binData.m:12
if length(idx) >0 g6B(kk)
end g6C
Definition: g6_struct.m:30

Definition at line 12 of file binData.m.