Closed vancky closed 5 years ago
Hi Fan,
1. re: astrometry.m - and introducing InPar.RefCatName This change is not what I had in mind. What I was planning is that if you provide an external catalog - you will provide a function handle into RefCat and this function handle will return the catalog.
In order to fix it I added to astrometry.m something like:
if isa(InPar.RefCat,'function_handle') RefCat = InPar.RefCat; else...
Therefore, I can't merge your current change, but I pushed the new version.
and then in the code: switch lower(InPar.SolverType) case 'fsolve' your code... case 'olditer' my code... end
in this case we can keep both options. I will appreciate it if you can implement this change.
Thanks!!! Eran
On Fri, Mar 29, 2019 at 4:11 PM vancky notifications@github.com wrote:
11 https://github.com/EranOfek/MAAT/issues/11
You can view, comment on, or merge this pull request online at:
https://github.com/EranOfek/MAAT/pull/12 Commit Summary
- bug fix for external catalog , crash when call switch lower(InPar.RefCat)
- add deflat logging information, default is false
- small spelling mistake
- bug fix and improvement for inverse_tpv, use matlab fsolve to find root
File Changes
- M @AstCat/astrometry.m https://github.com/EranOfek/MAAT/pull/12/files#diff-0 (4)
- M @ClassWCS/ClassWCS.m https://github.com/EranOfek/MAAT/pull/12/files#diff-1 (67)
- M @SIM/deflat.m https://github.com/EranOfek/MAAT/pull/12/files#diff-2 (5)
Patch Links:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EranOfek/MAAT/pull/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AFNIcdF9rx5jNcHY7ZX4PNytyod__9I8ks5vbhEBgaJpZM4cSWyY .
11