[[brmrtg]]
 

brmrtg

brmrtg
sdc10743.jpg
founder: jenda
ray1
depends on:
interested: EDITME
EDITME
software license: -
hardware license: -
status: active

doc: http://jenda.hrach.eu/brm/ct.pdf

photos:

parallel_beam.py patch:

30a31
> import matplotlib.pyplot as pl
383c384
< 	if (f_type.lower () == "none"):
---
> 	"""if (f_type.lower () == "none"):
387c388
< 			return filtered_proj
---
> 			return filtered_proj"""
415c416,417
< 		raise ValueError ("rho_filter: Unknown window type: %s" % f_type)
---
> 		#raise ValueError ("rho_filter: Unknown window type: %s" % f_type)
> 		window = 1
419c421
< 	
---
> 	print(filt)
428,429c430,432
< 	for i in range (proj_fft.shape [1]):
< 		proj_fft [:, i] *= filt
---
> 	if (f_type.lower () != "none"):
> 		for i in range (proj_fft.shape [1]):
> 			proj_fft [:, i] *= filt
435,436c438,442
< 	filtered_proj.resize ((proj.shape [0], filtered_proj.shape [1]))
< 	
---
> 	print(proj.shape [0], filtered_proj.shape [1])
> 	#filtered_proj.resize ((proj.shape [0], filtered_proj.shape [1]))
> 	arr=filtered_proj[:proj.shape [0]][:proj.shape [0]]
> 	print(arr.shape[0], arr.shape[1])
> 	filtered_proj=arr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki