UNIQORN -- The Universal Neural-network Interface for Quantum Observable Readout from N-body wavefunctions
DataLoading.py File Reference

Namespaces

 DataLoading
 

Functions

def DataLoading.data_ID_loader (**kwargs)
 IMPORT DATASET AND LABELS. More...
 
def DataLoading.label_ID_loader (DataNameComplete, **kwargs)
 
def DataLoading.extractor (WhichData, DataFileName, K)
 
def DataLoading.DataThresholdSelection (IDs_tot, Low, High, NDatasets)
 

Variables

 DataLoading.content = f.readline()
 extract single shots More...
 
 DataLoading.no_of_columns = len(content.split(' '))
 
 DataLoading.NShots
 
 DataLoading.ThisData = np.transpose(np.loadtxt(DataFileName, usecols=np.arange(3,no_of_columns)))
 extract density More...
 
 DataLoading.Ntot = DataFileName.split('00N')[1].split('M')[0]
 extract particle number More...
 
 DataLoading.lines = f.read().splitlines()
 extract fragmentation More...
 
 DataLoading.last_line = lines[-1]
 
 DataLoading.FRAG = last_line.split(' ')[1].strip()
 
 DataLoading._
 extract phase histograms More...
 
int DataLoading.toskip = 2
 
 DataLoading.Xmin = str(min(np.loadtxt(DataFileName, usecols=[0],skiprows=toskip)))
 
 DataLoading.Xmax = str(min(np.loadtxt(DataFileName, usecols=[0],skiprows=toskip)))
 
 DataLoading.file_x_boundaries = open('Xboundaries.txt', 'w+')
 
 DataLoading.VizGrid = np.loadtxt(DataFileName, usecols=[0],skiprows=toskip)