Method: Exner::Rorschach#scon

Defined in:
lib/exner/rorschach_plugins/scon.rb

#scon(lista = false) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/exner/rorschach_plugins/scon.rb', line 5

def scon(lista=false)
	det=@frecuencias['determinantes']
	total=0
	cons={
	1=>sumdet('V')+det['FD']>2,
	2=>scon_col_sombra>0,
	3=>(aislamiento_r<0.31 or aislamiento_r>0.44),
	4=>@frecuencias['ccee']['MOR']>3,
	5=> (self.Zd > 3.5 or self.Zd < -3.5) ,
	6=>es>self.EA,
	7=>det['CF']+det['C']>det['FC'],
	8=>xmas<0.7,
	9=>localizaciones['S']>3,
	10=>(@populares<3 or @populares>8),
	11=>@frecuencias['contenidos']['H']<2,
	12 => self.R<17
	}.each {|n,r|
		total+=1 if r
	}
	lista ? cons : total
	
end