Has anyone figured out how to do a TG-51 calculation in a Test List? I'm having trouble with coming up with a way to simultaneously calculate Pion/Ppol/kQ from a PDD(10)x, while also storing Pion/Ppol/kQ/PDD(10)x as constants for future monthly outputs. Our monthly setup is a mini-TG51 in water where we only measure at one voltage.
--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/5009ed6d-60d9-4fe6-a3cd-eeee518b281d%40googlegroups.com.
Hi Landon,Not sure if this is what you're after or not, but you could define a test list for calculating Pion etc and then a second test list which has composite tests that use the Django ORM to pull in the most recent values for those parameters. Or are you trying to do it within a single test list?Randy
On Wed, 4 Dec 2019 at 13:21, Landon Clark <landon...@gmail.com> wrote:
Has anyone figured out how to do a TG-51 calculation in a Test List? I'm having trouble with coming up with a way to simultaneously calculate Pion/Ppol/kQ from a PDD(10)x, while also storing Pion/Ppol/kQ/PDD(10)x as constants for future monthly outputs. Our monthly setup is a mini-TG51 in water where we only measure at one voltage.--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qat...@googlegroups.com.
pion_instances = models.TestInstance.objects.filter(
unit_test_info__test_id=12345, # replace with your Pion test_id,
unit_test_info__unit__number=META['unit_number'], # limit to results from current unit
test_list_instance__work_completed__lte=META['work_started'], # limit results to prior dates
test_list_instance__in_progress=False, # exclude in progress results
status__valid=True, # exclude any invalid data
skipped=False, # exclude skipped results
)
try:
latest = pion_instances.latest("work_completed") # get most recent result
pion = latest.value
except models.TestInstance.DoesNotExist:
pion = None
--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/216f0c2e-ee78-42d9-8c8d-b1da8323abc8%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/8160d1a8-5843-41e2-bf57-efc14b555642n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/5fd1e217-e59b-4f68-8578-06efab52e720n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/a461789c-8185-47a2-ae4b-762d896dc60cn%40googlegroups.com.