Hi Jeremy,
I hope you are well! I hope it is okay to come back to you with my westpa problem.
I have had a look at my assign.h5 file that I have generated (by running the w_assign -W west.h5 --config-from-file --scheme TEST --serial command) and compared the datasets to what we expect to be created (following the link you sent in your last email). I am using HDFView 3.1.3 to open my h5 files.
It appears that I have successfully created all the different datasets, although I don't know where to find the attributes nstates and nbins... I also have an additional file called statelabels (as well as the expected state_labels).
Just to be clear, am I correct in thinking that e.g. in the labeled_populations dataset, what I expect to get out is the population of each of the analysis bins (that I assigned in my west.cfg) for each trajectory in each iteration? So, for example, my analysis bins are defined as ['-inf', 30.0, 70, 'inf'] in my west.cfg file, then I have 3 'states': ['-inf', 30.0], [30, 70], and [70, 'inf']. If I also request 100 iterations (also defined in my west.cfg) and a total of 4 trajectories per bin (defined in my adatpive.py, and I have a 1D progress coordinate). Therefore, I expect my labeled_populations dataset to be of the shape 100, 3, 4 i.e. 100 iterations x 3 possible states x 4 trajectories per bin. Is this correct??
If I am correct, I think my assign.h5 file looks okay, although I am attaching it just in case.
Now, when I run w_direct with the following command w_direct all -a ANALYSIS/TEST/assign.h5 -W west.h5 -o direct.h5 --step-iter 1, I get the following std output:
Operation: Calculating Target Flux Evolution
fluxes into macrostates: ]
b'bound': mean=0.000000000000000e+00 CI=(0.000000000000000e+00, 0.000000000000000e+00) * tau^-1
b'unbound': mean=1.091473752739355e-09 CI=(0.000000000000000e+00, 3.274579618517711e-09) * tau^-1
fluxes from state to state:
b'bound' -> b'unbound': mean=1.091473752739355e-09 CI=(0.000000000000000e+00, 3.274262897918420e-09) * tau^-1
b'unbound' -> b'bound': mean=0.000000000000000e+00 CI=(0.000000000000000e+00, 0.000000000000000e+00) * tau^-1
rates from state to state:
b'bound' -> b'unbound': mean=1.091473753275574e-09 CI=(0.000000000000000e+00, 3.274262902743184e-09) * tau^-1
b'unbound' -> b'bound': mean=0.000000000000000e+00 CI=(0.000000000000000e+00, 0.000000000000000e+00) * tau^-1
Operation: Calculating State Probability Evolution
average color probabilities: ]
b'bound': mean=9.999999995087192e-01 CI=(9.999999985263589e-01, 9.999999999999687e-01) * tau^-1
b'unbound': mean=4.912802268916663e-10 CI=(2.721817650152191e-14, 1.473694939711732e-09) * tau^-1
average state probabilities:
b'bound': mean=9.769687495876010e-01 CI=(9.619207654399207e-01, 9.920167337352814e-01) * tau^-1
b'unbound': mean=5.458884321251973e-11 CI=(2.969255618347843e-15, 1.637477862114684e-10) * tau^-1
and my direct.h5 file is successfully created. I checked whether I have all of the correct datasets in direct.h5 and I do. However, additional datasets were also created: avg_color_probs, avg_conditional_fluxes, avg_rates, avg_state_probs, avg_total_fluxes, color_prob_evolution, conditional_flux_evolution, rate_evolution, state_labels, state_pop_evolution, and target_flux_evolution.
Is this the same output as I would expect by just running w_ipa -ao alone, instead of w_assign and w_direct separately?? Can i just get the flux data from my direct.h5? Hope this makes sense and sorry for the long email!
Kind regards,
Rebecca