-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrio2calculator.py
44 lines (29 loc) · 1 KB
/
rio2calculator.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Written 17/11/2016 by dh4gan
# This script prompts the user for answers to several questions
# relating to signals detected in a Search for Extraterrestrial Intelligence (SETI) survey
# These answers then compute the revised Rio Scale 2.0
# R = Q * delta
# Where Q describes the consequences of a signal if true, and delta describes the credibility of the signal
import rio2definitions as d
title = '\t\t\t RIO SCALE 2.0 CALCULATOR \n\t\t\t -------------------------'
print title
print '-------------------------'
print 'Assessing consequences of signal: calculating Q'
print '-------------------------'
Q=0
info_content = False
Q = d.ask_all_Q_questions()
print "final Q value is ",Q
print '-------------------------'
print 'Now assessing credibility of signal: calculating delta'
print '-------------------------'
A,B,C,J,delta = d.ask_all_delta_questions()
Rio = Q*delta
print "Scores:"
print "Q = ",Q
print "A = ",A
print "B = ",B
print "C = ",C
print "J = ",J
print "delta = ",delta
print "Rio = ",Rio