Skip to content

Commit

Permalink
Update compute_fisher.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYun1995 authored Nov 15, 2024
1 parent 7d30ca7 commit b7ae0c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/compute_fisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@

# Compute fisher matrix
for s in range(len(statistics_fid)):
fisher_info = fisher( statistics_fid[s], statistics_deriv[s], statistics_fid[s].shape[1], nsims_fiducial, delta )
cov = np.linalg.inv( fisher_info )
fisher_info[s,:,:] = fisher( statistics_fid[s], statistics_deriv[s], statistics_fid[s].shape[1], nsims_fiducial, delta )

# Save
np.save('/.../fisher_matrix.npy', fisher_info)
Expand Down

0 comments on commit b7ae0c4

Please sign in to comment.