Skip to content

Commit

Permalink
Change all 1s to true
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlevy committed Nov 29, 2017
1 parent c2b350e commit a9dd0db
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
Binary file modified examples/Bosonic/Bosonic_example.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/Bosonic/bosonic.param
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ NFREQ = 1000 #number of output frequencies
NDAT = 22 #number of input data points*2 due to non-PH symmetry
MAX_IT = 4000 #increase maximum iterations for convergence
DATASPACE = frequency #frequency data
PARTICLE_HOLE_SYMMETRY = 0 #use both real and imag part of input
PARTICLE_HOLE_SYMMETRY = false #use both real and imag part of input
DATA=dat_in #name of data file
2 changes: 1 addition & 1 deletion examples/Bosonic/bosonic_ph.param
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ NFREQ = 1000 #number of output frequencies
NDAT = 11 #!\color{red}actual number of input data points!
MAX_IT = 4000 #increase maximum iterations for convergence
DATASPACE = frequency #frequency data
PARTICLE_HOLE_SYMMETRY = 1 #!\color{red}PH symmetric data; only real part!
PARTICLE_HOLE_SYMMETRY = true #!\color{red}PH symmetric data; only real part!
DATA=G_re #name of data file
Binary file modified examples/Legendre/Legendre_example.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/Legendre/in.param
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NDAT = 10 #num of data points
DATASPACE=Legendre #!$G(\ell)$!
KERNEL=fermionic #!\underline{fermionic}! values
DATA=gl.dat #location of data file
PARTICLE_HOLE_SYMMETRY=1 #This example has PH symmetry
PARTICLE_HOLE_SYMMETRY=true #This example has PH symmetry
NFREQ=5000 #increase omega grid for better
#integration and convergence
FREQUENCY_GRID=quadratic #use more points away from origin
Expand Down
Binary file modified examples/Self Energy/U1/Selfenergy_U1_example.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/Self Energy/U1/in.param
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ NFREQ=1000 #num of output frequencies
DATASPACE=frequency #!$G(i\omega)$!
KERNEL=fermionic #fermionic|bosonic values
FREQUENCY_GRID=Quadratic #this grid is better for features away from 0
PARTICLE_HOLE_SYMMETRY=1 #generated at half-filling
PARTICLE_HOLE_SYMMETRY=true #generated at half-filling
DATA="Selfin" #location of data file
SELF=1 #this will output !$\Sigma(\omega)$! rather than !$A(\omega)$!
SELF=true #this will output !$\Sigma(\omega)$! rather than !$A(\omega)$!
NORM=0.25 #self energy norm = !$U^2\cdot n(1-n)$!
Binary file modified examples/Self Energy/U10/Selfenergy_U10_example.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/Self Energy/U10/green.param
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NFREQ=500 #num of output frequencies
DATASPACE=frequency #!$G(i\omega)$!
KERNEL=fermionic #fermionic|bosonic values
FREQUENCY_GRID=Quadratic #this grid is better for features away from the origin
PARTICLE_HOLE_SYMMETRY=1 #0|1
PARTICLE_HOLE_SYMMETRY=true #false|true
DATA="G_im" #location of data file
OMEGA_MAX=20 #bigger !$\omega$! space needed
DEFAULT_MODEL="double Gaussian" #best guess of underlying data structure
Expand Down
4 changes: 2 additions & 2 deletions examples/Self Energy/U10/in.param
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NFREQ=500 #num of output frequencies
DATASPACE=frequency #!$G(i\omega)$!
KERNEL=fermionic #fermionic|bosonic values
FREQUENCY_GRID=Quadratic #this grid is better for features away from 0
PARTICLE_HOLE_SYMMETRY=1 #generated at half-filling
PARTICLE_HOLE_SYMMETRY=true #generated at half-filling
DATA="Selfin" #location of data file
SELF=1 #this will output an additional !$\Sigma(\omega)$!
SELF=true #this will output an additional !$\Sigma(\omega)$!
NORM=25 #self energy norm = !$U^2\cdot n(1-n)$!
Binary file modified examples/U0/U0_example.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/U0/in.param
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ NDAT=1024 #num of data points
NFREQ=500 #num of output frequencies
DATASPACE=frequency #!$G(i\omega)$!
KERNEL=fermionic #!\underline{fermionic}!|bosonic values
PARTICLE_HOLE_SYMMETRY=1 #generated at half-filling; only use imag part
PARTICLE_HOLE_SYMMETRY=true #generated at half-filling; only use imag part
DATA="G_im" #location of data file
2 changes: 1 addition & 1 deletion examples/U0/in_tau.param
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BETA=8 #inverse temperature
NDAT=1025 #num of data points
NFREQ=500 #num of output frequencies;
KERNEL=fermionic #!\underline{fermionic}!|bosonic values
PARTICLE_HOLE_SYMMETRY=1 #generated at half-filling
PARTICLE_HOLE_SYMMETRY=true #generated at half-filling
DATASPACE=time #!$G(\tau)$!
DATA="Gtau" #location of data file
TAU_0=0.0
Expand Down
2 changes: 1 addition & 1 deletion examples/U2/frequency.param
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ NDAT=2048 #number of input data points*2 due to non-PH symmetry
NFREQ=500 #num of output frequencies
DATASPACE=frequency #!$G(i\omega)$!
KERNEL=fermionic #fermionic values
PARTICLE_HOLE_SYMMETRY=0 #generated away from half-filling
PARTICLE_HOLE_SYMMETRY=false #generated away from half-filling
DATA="Gomegain" #location of data file
NORM=.75643 #density is != 1
2 changes: 1 addition & 1 deletion examples/U2/self.param
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ NDAT=2048 #number of input data points*2 due to non-PH symmetry
NFREQ=500 #num of output frequencies
DATASPACE=frequency #!$\Sigma(i\omega)$!
KERNEL=fermionic #fermionic values
PARTICLE_HOLE_SYMMETRY=0 #generated away from half-filling
PARTICLE_HOLE_SYMMETRY=false #generated away from half-filling
DATA="Selfenergy" #location of data file
SELF=1 #output self-energy file
NORM=.736975
2 changes: 1 addition & 1 deletion examples/U2/time.param
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ NDAT=1024 #num of imag data points
NFREQ=500 #num of output frequencies
DATASPACE=time #!$G(i\tau)$!
KERNEL=fermionic #fermionic values
PARTICLE_HOLE_SYMMETRY=0 #generated away from half-filling
PARTICLE_HOLE_SYMMETRY=false #generated away from half-filling
DATA="G_tau" #location of data file
8 changes: 4 additions & 4 deletions src/maxent_simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ void MaxEntSimulation::define_parameters(alps::params &p){
//---------------------------------
// General
//---------------------------------
p.define<bool>("DATA_IN_HDF5",false,"1 if data is in HDF5 format");
p.define<bool>("TEXT_OUTPUT",true,"1 if results should be output to text files");
p.define<bool>("VERBOSE",false,"1 to print verbose output");
p.define<bool>("DATA_IN_HDF5",false,"true if data is in HDF5 format");
p.define<bool>("TEXT_OUTPUT",true,"true if results should be output to text files");
p.define<bool>("VERBOSE",false,"true to print verbose output");
p.define<bool>("SELF",false,"input is a self energy");
p.define<int>("MAX_IT",1000,"Maximum Iterations for the fitting routine");
p.define<int>("N_ALPHA",60,"Number of alpha samples");
Expand Down Expand Up @@ -111,7 +111,7 @@ void MaxEntSimulation::define_parameters(alps::params &p){
//---------------------------------
p.define<std::string>("DATASPACE","time","Time or Frequency space");
p.define<std::string>("KERNEL","fermionic","Type of kernel: Fermionic,Bosonic,TZero,Legendre");
p.define<bool>("PARTICLE_HOLE_SYMMETRY",false,"Set =1 if particle hole symmetric");
p.define<bool>("PARTICLE_HOLE_SYMMETRY",false,"Set =true if particle hole symmetric");
}
void MaxEntSimulation::run()
{
Expand Down

0 comments on commit a9dd0db

Please sign in to comment.