Comments (4)
The list of implemented metrics is located at:
https://github.com/victorgabr/ApertureComplexity/blob/master/complexity/PyComplexityMetric.py
I am not sure what you mean by MCS, but there are many on the file above.
from aperturecomplexity.
Thanks. Can u plz give a sample code on how to calculate MeanApertureAreaMetric. Appreciate your help.
I have tried this
`from complexity.PyComplexityMetric import MeanApertureAreaMetric
from complexity.dicomrt import RTPlan
if name == 'main':
pfile ='E:\MedPhy\Medical Physics Library\Research\Aperture Shape Controller Evaluation\High.dcm'
plan_info = RTPlan(filename=pfile)
plan_dict = plan_info.get_plan()
beams = [beam for k, beam in plan_dict['beams'].items()]
complexity_obj = MeanApertureAreaMetric()
mean_aperture_area = complexity_obj.Calculate`????
I am stuck.
from aperturecomplexity.
I have added more examples.
Other metrics inherited from PyComplexityMetric. So the API for usage is the same.
Check the README.md.
There are also more complex metrics on the file:
https://github.com/victorgabr/ApertureComplexity/blob/master/complexity/misc.py
Including MCS.
from aperturecomplexity.
Thanks a lot
from aperturecomplexity.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aperturecomplexity.