setup_sim_to_match_file

webbpsf.setup_sim_to_match_file(filename_or_HDUList, verbose=True, plot=False, choice='closest')[source]

Setup a webbpsf Instrument instance matched to a given dataset

Parameters:
filename_or_HDUliststr or astropy.io.fits HDUList

file to load

verbosebool

be more verbose?

plotbool

plot?

choicestring

Method to choose which OPD file to use, e.g. ‘before’, ‘after’, or ‘closest’