[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orekit Users] Issue with EventState/Propagator/Elevation Detector - HELP!!
- To: orekit-users@orekit.org
- Subject: Re: [Orekit Users] Issue with EventState/Propagator/Elevation Detector - HELP!!
- From: Hank Grabowski <hank@applieddefense.com>
- Date: Tue, 2 May 2017 08:24:24 -0400
- Authentication-results: kepler.orekit.org; dkim=pass reason="2048-bit key; insecure key" header.d=applieddefense-com.20150623.gappssmtp.com header.i=@applieddefense-com.20150623.gappssmtp.com header.b=EppAqtHv; dkim-adsp=none (insecure policy); dkim-atps=neutral
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=applieddefense-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=o84PUFt3cw2H4iUKmbdmJ0wEKaEvbTpsC7G64ncAT9w=; b=EppAqtHv00un/Eu45VGjA7gN0qoDjZVsNeCeOe8h6HfZVvfXrLOTnWaWtgn4Ersb4t cyQaNB+6s43ogks9RfMVanGrD+7VROvZT9XaOJW6FfXaq3wowSQ8sJ02unpn7Dtd85rB 5AVevRuqs7XTt6r5Ubqing7A4vhLXT0eJAMNkJLvhRaPOAkncyqZBHH5VsIDMMkwcEzg Qq1ZXex/K5B/tp142hNHhxndq8xkw5C6ZMUOU099GBQrs2XNJSE4BRyxq3OtiKJQk8ve 4Rz0ezfSPA6m5uyiiFcKcVUxUQNqQz4Lfun/mq9QZUjeCSyZqhZwOFIoAIUDGyE7qjG8 Z7jA==
- In-reply-to: <sympa.1493692695.21314.886@orekit.org>
- References: <CAP2my4ars4LD2bkoEok3tVT=Jo2Te6JZ_R12qugjJhKPb7PzeQ@mail.gmail.com> <sympa.1493692695.21314.886@orekit.org>
You can manually call the evaluation function at the start and stop dates and check the event function value at those two points. The sign of the function will tell you which side of the elevation threshold (over or under) you are. The logic I would build would therefore be to run the propagation and evaluate the start and stop times. A logic tree for the cases of always under, always over, and determining the end values would get you what you need, I think. This is essentially what we do when we are building viewing intervals from these sorts of calculations.