#!/bin/bash

ni=4 # number of images
nc=5 # number of copies
l=`wc ../1-pot/pot.txt | awk '{print $1}'` # number of data points (you can use only a portion of the data)


# using generalized wham algorithm with bootstrapping
../../../../codes/npwham.0/npwham -w $ni -l $l -t 310 -b $nc -B 100 < ../1-pot/pot.txt > bootstrap.txt 2> bootstrap.err
# use npwham -h for the description of arguments (-b: # of blocks, -B: number of bootstraps)
