Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orbitalIntegration takes infinite time to finish #463

Open
EranOfek opened this issue Jul 1, 2024 · 0 comments
Open

orbitalIntegration takes infinite time to finish #463

EranOfek opened this issue Jul 1, 2024 · 0 comments

Comments

@EranOfek
Copy link
Owner

EranOfek commented Jul 1, 2024

In some cases
celestial.SolarSys.orbitIntegration

takes very long time to finish.
This happens when rk1210 is used an the object passes near one of the perturbers.
For example:
running:

[UpdatedCat, OnlyMP(If), AstrometricCat, Status(If), Path] = VO.ZTF.reanalize_ZTF_psfcat(Files(If).name, 'Path',[], 'OrbEl',Args.OrbEl, 'INPOP',Args.INPOP, 'GeoPos',Args.GeoPos,...
'WriteProd',true,...
'FieldID',Args.FieldID,...
'CCDID',Args.CCDID);
on:
/raid/eran/projects/telescopes/ZTF/sourceCatalogs/DAO/626/1
ztf_20180806177303_000626_zg_c01_o_q2_psfcat.fits

This does not happen with ode45.
Likely due to a problem with rkn1210.
If can't be fixed, then, need to modify that will return NaN in finite time and in these cases ode45 will be used

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

No branches or pull requests

1 participant