Closed drphilmarshall closed 10 years ago
Possible syntax:
lenstractor.Initialize(model,from=None) lenstractor.Initialize(model,from=lens)
I guess "model" would be returned with its parameters set to the desired initial values.
Initialization from scratch is now coded: I git merged back into master and pushed everything. The Nebula examples work, on both ps1 and sdss. Adri, make sure yours do too after you resolve any conflicts!
On the train up from SB I implemented a first attempt at spawning Nebula4 from Nebula2. It doesn't bring much overinit from scratch, actually - especially after I also implemented Adri's flux-weighted centroids. Next up: spawn Lens from Nebula. git checkout master ; git pull origin master!
Just pair-coded Lens init from Nebula with Adri. Sourcepositions do not come from unlensed image positions, but this can come later (see separate issue Adri is about to write!). In the meantime, 0951 is successfully fitted with a Lens!
We need an initializer that can: