1/3/2023 0 Comments Cleanx back saver# correlate arclength with detrended flux # fit arclength as a function of strongest eigenvectorĪcoeffs, errors, covar, iiter, sigma, chi2, dof, fit, plotx, ploty, status = \ Rx = linspace(nanmin(centr_rot),nanmax(centr_rot),100) Message = 'ERROR - KEPSFF: could not fit rotated centroid data with polynomial' Either increase the stepsize (with an appreciation of the effects on light curve quality this will have!), or better yet - cut the timeseries up to remove large gaps in the input light curve using kepclip.' % (t1,t2) There are no data points within the range of input rows %d - %d. Message = 'ERROR - KEPSFF: could not fit centroid data with polynomial. Kepfit.lsqclip(functype,pinit,centr1,centr2,None,sigma_cxcy,sigma_cxcy,10,logfile,verbose)Ĭfit = coeffs * numpy.power(centr1,j) # fit centroid data with low-order polynomialĬoeffs, errors, covar, iiter, sigma, chi2, dof, fit, plotx, ploty, status = \ Winedge = append(winedge,len(table.field('TIME'))) If len(table.field('TIME')) > winedge 1: Table, status = kepio.readfitstab(infile,instr,logfile,verbose) Instr = kepkey.emptykeys(instr,file,logfile,verbose) # fudge non-compliant FITS keywords with no values Tstart, tstop, bjdref, cadence, status = kepio.timekeys(instr,infile,logfile,verbose,status) Instr, status = kepio.openfits(infile,'readonly',logfile,verbose) Status = kepmsg.err(logfile,message,verbose) Message = 'ERROR - KEPSFF: ' outfile ' exists. If clobber: status = kepio.clobber(outfile,logfile,verbose) Kepmsg.clock('KEPSFF started at',logfile,verbose) Npoly_dsdt,sigma_dsdt,npoly_arfl,sigma_arfl,plotres,clobber,verbose,logfile, Def kepsff(infile,outfile,datacol,cenmethod,stepsize,npoly_cxcy,sigma_cxcy,npoly_ardx,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |