Skip to content

Commit 3fa449a

Browse files
committed
Corrected the total occupation for holes for cnum_check
1 parent 268b5bc commit 3fa449a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/perturbopy/postproc/utils/spectra_generate_pulse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ def setup_pump_pulse(elec_pump_pulse_path, hole_pump_pulse_path,
517517
total_occ_hole_write = total_occ_hole.copy()
518518
total_occ_hole_write = total_occ_hole_write.T
519519
total_occ_hole_write = np.expand_dims(total_occ_hole_write, axis=0)
520+
total_occ_hole_write = 1.0 - total_occ_hole_write
520521
hole_dyna_run.to_cdyna_h5(hole_dyna_run.prefix,
521522
hole_dyna_run._energies,
522523
total_occ_hole_write,

0 commit comments

Comments
 (0)