Ordering of fit params in .npz files?
Closed this issue · 0 comments
newburgh commented
The params saved in the .npz file don't seem to be even/odd (at least for flights 527-535). The relevant code is:
Concat calls the beam fitting via:
A_popt,A_PR,G_popt,G_PR=fu.Fit_Main_Beam(inputconcat=self,chans=self.chmap,freqs=freqs)
and the fitting happens as:
def Fit_Main_Beam(inputconcat,chans,freqs,coordbounds=[50.0,50.0,150.0],ampbound=0.999):
...
for i,chan in enumerate(chans):
for j,find in enumerate(freqs):
G_popt[i,j]=least_squares(Gauss_2d_LC_opt,x0=pG,bounds=bnds,method='trf',args=mb_input_data).x