Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JarronL
Copy link

@JarronL JarronL commented Jul 17, 2025

I thought it would be useful to put the model_rescale_factor() function into utils.py and compile some fo the scaling code into a circumstellar_model_rescale() method to the SpaceRDI class. Updates Tutorial 2 to simply some of the function definitions. The circumstellar_model_rescale() function is also handy for on-the-fly rescaling of the model..

Also fixed a bug on reduc_label bug for forward modeling display.

And using image_manip.crop_image instead of np.pad in one specific instance to handle both cases of padding and cropping.

JarronL added 5 commits July 17, 2025 15:15
Uses `wdb.circumstellar_model_rescale()` to rescale model inside of class to simplify `obj_fn` code.
Minimize calls to `run_rdi` in objective function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant