Compare commits
No commits in common. "98df982419e98ab3ef0500ad8d27b3253123c9ab" and "b7233d004a22f22460126d2d59d490a1c42602f8" have entirely different histories.
98df982419
...
b7233d004a
|
@ -1,5 +1,4 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
import argparse
|
||||
import plotly.graph_objects as go
|
||||
import numpy
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
import argparse
|
||||
import plotly.graph_objects as go
|
||||
import numpy
|
||||
|
@ -18,3 +16,5 @@ for datafilename in args.filenames:
|
|||
y = [line[3] for line in data]
|
||||
fig.add_trace(go.Bar(x=x, y=y))
|
||||
fig.show()
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
import argparse
|
||||
import plotly.graph_objects as go
|
||||
import numpy
|
||||
|
@ -37,3 +35,4 @@ fig.update_layout(
|
|||
sliders=sliders
|
||||
)
|
||||
fig.show()
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
# The data can then be used to produce animated graphs (with c_int evolving),
|
||||
# see the `c_scan_N_fixed_dsfs[_plot]` scripts.
|
||||
|
||||
if [[ $# -ne 7 ]]; then
|
||||
echo "Arguments needed: whichDSF, kBT, target_sumrule, N, nkmax (max momentum in units of kF/4), Max_Secs (per c), refine."
|
||||
if [[ $# -ne 5 ]]; then
|
||||
echo "Arguments needed: whichDSF, kBT, target_sumrule, N, nkmax (max momentum in units of kF/4)."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -37,16 +37,6 @@ if [[ $5 -lt 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $6 -lt 0 ]]; then
|
||||
echo "Max_Secs must be > 0."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $7 != 0 && $7 != 1 ]]; then
|
||||
echo "refine must be 0 (false) or 1 (true)."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
timestart=$(date +%s)
|
||||
|
||||
whichDSF=$1
|
||||
|
@ -54,8 +44,6 @@ kBT=$2
|
|||
target_sumrule=$3
|
||||
N=$4
|
||||
nkmax=$5
|
||||
Max_Secs=$6
|
||||
refine=$7
|
||||
|
||||
correlator='rho-rho'
|
||||
if [[ $whichDSF == 'o' ]]; then
|
||||
|
@ -70,6 +58,8 @@ touch $logfile
|
|||
|
||||
iKmax=$(($nkmax * $N/8))
|
||||
|
||||
Max_Secs=3600
|
||||
refine=0
|
||||
|
||||
# List of interactions: fractional powers of 2
|
||||
clist_raw=()
|
||||
|
@ -97,7 +87,7 @@ dircheck='Lieb-Liniger/'$correlator'/T_'$kBT'/c_scan_N_fixed/k_0_to_'${(l:2::0:)
|
|||
if [[ -d $dircheck ]]; then
|
||||
echo 'A c scan with these parameters already exists. Aborting.'
|
||||
echo 'If you really want to run this command, please first delete directory:\n'$dircheck
|
||||
exit 1
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
"""
|
||||
Plot benchmark files produced from Benchmark_RAW_File.
|
||||
|
||||
|
|
Loading…
Reference in New Issue