Closed wbalmer closed 1 month ago
@AarynnCarter This looks pretty straight forward to me and contains an important bugfix, so I think you can go ahead and merge it.
Thanks for looking it over @kammerje - I just had to make one correction to the default parameters (dr 5 -> 3, to avoid some issues with the default boxsize of 31). This should be good to merge now, I've tested it on multiple datasets with the default parameters, and permutations of the various kwargs.
Adds kwargs for each of the currently hard coded forward model variables, as well as a kwarg to specify an input planetary spectrum when generating the psf in
extract_companions
.I tested this on the ERS F444W dataset and reproduced the expected behavior of
extract_companions
in this case. Example kwargs:Turns out you get different values comparing the develop behavior vs this branch's behavior using an appropriate temperature spectrum for a bright enough companion. Obviously matters more for the widest filters.