Compare doses between x-ray systems on the charts
I would find it useful to be able to compare doses from x-ray systems on the charts. For example, a chart showing CT head requests for CT scanner A vs. CT scanner B.
Comments (185)
-
reporter -
reporter I'm going to get the CT plot of DLP per requested procedure working as a test case.
Users will sometimes want to view a global mean or median, rather than values split by system. Need to make this possible.
Chart code is likely to need updating to cope with the more complex data being sent to it.
-
reporter Updated a bit more of the CT request plot code. References issue
#332→ <<cset 25be8202bf9c>>
-
reporter Median DLP for requested procedures now split by scanner. References issue
#332→ <<cset 2e8bdd386a05>>
-
reporter Plot now shows the data as a series per scanner, but I think there is some issue with the data order. References issue
#332→ <<cset 26f54e4698a3>>
-
reporter Added legend and tried to fix order of data. References issue
#332→ <<cset c65d74ee2cad>>
-
reporter Need to ensure that there is one list of requested procedure names that is used for each scanner, even if some scanners have no requests under some of the names.
-
reporter Order of data sorted out (no pun intended). At the moment the plot only works if all scanners have some data for every requested procedure type being displayed. Drilldown and sorting do not work at the moment. References issue
#332→ <<cset b340988ee33d>>
-
reporter Drilldown now works in the chart. Labelling of chart series and titles needs to be sorted out. References issue
#332→ <<cset c747a62b67b3>>
-
reporter Drilldown labelling now works properly in the chart. References issue
#332→ <<cset f8023c8e5277>>
-
reporter For each requested procedure, forced all scanners to use the same histogram bins: enables histograms to be plotted together for comparison. References issue
#332→ <<cset 10ee0bf16434>>
-
reporter Ensured that there is an entry for every requested procedure for each scanner, even if some scanners have zero requests for some procedures. References issue
#332→ <<cset 84e3a7b8dcbf>>
-
reporter There was a problem with the drilldown which was preventing all the histograms from being displayed. Fixed this now. I think that the fix may help increase the speed of other charts. References issue
#332→ <<cset 80fd92e2904a>>
-
reporter Tidying up of chart code. References issue
#332→ <<cset 6d5d65587cbd>>
-
reporter Put back line to force categories to be correctly shown on drilldown chart. References issue
#332→ <<cset ec2e481cd382>>
-
reporter The histograms were in a different order to the median values, so there was a mis-match between the main series and the drilldown. It turns out that this is because the python sorting routines sort in a different way to that of the Django database queries. I've fixed it by ordering the requestSummary data to match the database-provided list of names. References issue
#332→ <<cset dfc8a740cc6a>>
-
reporter Removed itemgetter that is not required. References issue
#332→ <<cset 188be60ff1e6>>
-
reporter Plot of DLP per CT request type now working for mean, median and both. Need to fix the sorting routines. References issue
#332→ <<cset a2b2ef54b87b>>
-
reporter Fixed plot of CT request type frequency so that it works with the new data. References issue
#332→ <<cset e2f4da250ed6>>
-
reporter Fixed error when padding data with missing request types. References issue
#332→ <<cset 1e882dae7788>>
-
reporter Fixed the sorting routines. References issue
#332→ <<cset 457f38b8dded>>
-
reporter Changed colours for series - hopefully results in less offensive colours when there are a few series plotted. References issue
#332→ <<cset 1c3bf6c0e26d>>
-
lol
-
reporter Added new library to help create attractive colour ranges. See http://vis4.net/blog/posts/mastering-multi-hued-color-scales/#more-4101 and https://github.com/gka/chroma.js and https://vis4.net/blog/posts/avoid-equidistant-hsv-colors/. References issue 332
→ <<cset 35e6bfde9806>>
-
reporter Relaced my home-made colour generator with chroma.js for all the CT plots. References issue
#332.→ <<cset 0b0142dd8c2d>>
-
reporter Included display name on tooltip for request plot. Useful now the plot has a series per system. References issue
#332→ <<cset b700023921df>>
-
reporter Added user option to plot a series per system, or to group all systems into one series. Also fixed an error in the colour calculations that was causing a divide by zero when there was only one series. References issue
#332and issue#342.→ <<cset ec745250d1f6>>
-
On the currently installed demo of this, if I click on CT Head I get a histogram that I'm assuming has all the different scanners plotted.
If I click on CT Abdomen or CT Chest, I only get one scanner plotted. Is this what you get? Maybe its something that has been fixed here, but I don't remember a commit message referencing this...
Looks lovely by the way!
-
reporter You're probably looking at a plot that is showing mean and median data for each system. There will be two series for each system on the initial plot, one for mean and the other for median. When you drilldown you only see half the number of series, because the histogram data for the mean and median points is the same. So, clicking on CT head (showing eight series) will take you to four histograms; clicking on either of the others (two series) will take you to a single histogram.
-
Doh!
-
reporter Plots per system
Done:
-
Added universal option to plot per system or group all systems into one series
-
DLP per CT requested procedure name can now be per system or one series
-
DLP per CT study description can now be per system or one series
-
Added display of requested procedure on radiographic tabulated data
-
DAP per radiographic requested procedure name can now be per system or one series
-
Added requested procedure name as a form filter on radiographic page
-
Added new charts of DAP per radiographic study description and DAP per requested procedure name
-
Added new charts of radiographic study description frequency and requested procedure name frequency
-
DAP per radiographic study description can now be per system or one series
-
DAP per radiographic acquisition protocol can now be per system or one series
-
kVp per radiographic acquisition protocol can now be per system or one series
-
mAs per radiographic acquisition protocol can now be per system or one series
-
DLP per CT acquisition protocol can now be per system or one series
-
CTDI per CT acquisition protocol can now be per system or one series
Notes:
There is little agreement in acquisition protocol names and study descriptions between the systems that I look after. For me, these plots won't really allow a comparison between systems in an easy side-by-side way. The plots of requested procedure name should work well, as all systems are populated with the same range of names.
-
-
reporter Added request filter on radiographic page; added display of request name on radiographic page. References issue
#332.→ <<cset 9ee4a8656190>>
-
reporter Preparing for new radiographic plots. Added database fields to user profile and added skeleton code. References issue
#332.→ <<cset daced55176c0>>
-
reporter Added study and request events for radiographic data. References issue
#332.→ <<cset f9db008bd493>>
-
reporter Added code to views.py to calculate data for the new radiographic plots. References issue
#332→ <<cset 76a0d2ea227a>>
-
reporter Added radiographic pie chart of requested procedure name frequency. References issue
#332→ <<cset d1aa217c8214>>
-
reporter Radiographic plots of DAP per requested procedure name added. References issue
#332.→ <<cset 7ff989e685bf>>
-
reporter Radiographic plots of DAP per study description added. References issue
#332.→ <<cset 14cb29620bed>>
-
reporter Added code to CT request charts to ensure that links from individual system histogram points take the user to only that system data. References issue
#332→ <<cset ba5631884512>>
-
reporter Fixed typo that was preventing charts from resizing. References issue
#332→ <<cset f58cc047d147>>
-
reporter Updated radiographic charts to use new colour scheme. Also fixed a couple of errors: put back in some code that should not have been removed. References issue
#332and issue#342→ <<cset 04b29547f7dc>>
-
reporter Radiographic chart of DAP per requested procedure name now has a series per x-ray system. References issue
#332→ <<cset a656380878f0>>
-
reporter Simplified request name variable - was using two. References issue
#332→ <<cset 49bb437fa60c>>
-
reporter Simplified call to radiographic data calculation. Fixed problem with over-time colours. References issue
#332and issue#342→ <<cset 91d34c39b579>>
-
reporter -
assigned issue to
- marked as enhancement
-
assigned issue to
-
reporter Simplified call to CT data calculation. References issue
#332→ <<cset ec25ad4b4812>>
-
reporter Modified logic for mean and median data calculation for requested radiographic data. Should help to speed things up when plotting per system. Need to implement this for the CT requests too. Investigate whether simplifying the field used for num_req or num_acq or num_stu speeds things up too. References issue
#332→ <<cset acede37050c3>>
-
reporter Improved chart calculation code to avoid unnecessary blocks that won't be needed. Also simplified the field that is used to count how many requests, acquisition, studies have been carried out. References issue
#332→ <<cset 88cfd2d871d6>>
-
reporter Fixed a couple of errors I introduced yesterday that were preventing a couple of radiographic plots from working. References issue
#332→ <<cset efc1c8e69f88>>
-
reporter Added a further couple of optimisations to the chart data calculations. References issue
#332→ <<cset b14bcbacb1da>>
-
reporter Updated all radiographic charts to use the new
anySeriesSort
sorting routine. References issue#332.→ <<cset ce39241a45b9>>
-
reporter Optimised imports in views.py to remove unused imports. References issue
#332.→ <<cset a8fb0b861f2d>>
-
reporter I've been looking at histograms of DAP for several rooms together, plotted on one chart. There is quite a discrepancy between the number of examinations for some of the rooms, making it difficult to compare the shape of the histograms. I thought it would be useful to be able to normalise each histogram, setting it's maximum value to 1.0. This then makes comparison of the shape easier. The code below does this, and can be attached to a button below each relevant chart. Does anyone think this is a useful feature?
It's a bit rough-and-ready at the moment: if the user clicks on the button when viewing the histogram plots then nothing happens; once they return to the main plot and then drill down again the histogram plots will be updated with the normalised values.
var histogramNormalised = false; function normaliseHistograms(chartContainer) { var chart, histogram_data, i, j, series_max; if (histogramNormalised == false) { chart = $(chartContainer).highcharts(); histogram_data = []; for (i = 0; i < chart.options.drilldown.series.length; i++) { histogram_data.push({ id: chart.options.drilldown.series[i].id, name: chart.options.drilldown.series[i].name, useHTML: true, data: [] }); series_max = Math.max.apply(Math, chart.options.drilldown.series[i]["data"].map(function(v) {return v[1];})); for (j = 0; j < chart.options.drilldown.series[i]["data"].length; j++) { histogram_data[i]["data"].push([ chart.options.drilldown.series[i]["data"][j][0], chart.options.drilldown.series[i]["data"][j][1] /= series_max ]); } } chart.options.drilldown.series = histogram_data; histogramNormalised = true; } }
A button can be created in dxfiltered.html that will run the code:
<a onclick="normaliseHistograms('#plotDXRequestMeanDAPContainer')" class="btn btn-default btn-sm" role="button">Normalise histograms</a>
-
reporter See http://jsfiddle.net/9phfzewj/72/ for a demo of this. The normalised data can be toggled.
-
reporter Added the ability to normalise the histogram data. This makes it easier to compare dose distributions from different systems when the number of entries varies greatly between them. References issue
#332→ <<cset 9d386cce06e7>>
-
reporter @edmcdonagh, I've put this latest code on the djp demo site. Have a look at the "DLP per requested procedure type" chart. It's now possible to normalise the histograms.
It only works for the CT data on that site, as the radiograph data doesn't have any values in "Requested procedure".
-
reporter Updated JavaScript histogram normalisation code so that the histogram plots are updated live, rather than the user having to return to the main series and then drilldown again. Much, much better now. References issue
#332→ <<cset 45c68227a619>>
-
reporter The djp demo site contains this most recent commit
-
Awesome.
Does the button have to exist in the barchart view?
-
reporter That is my next job. I may be able to hide it, and then change it's visibility using the chart's drilldown event.
-
reporter Normalise histograms
button now only visible when viewing histograms. References issue#332→ <<cset 638d40261492>>
-
reporter DJP demo site is up-to-date with this again.
-
Perfect
-
reporter Accidentally broke some of the plots. Fixing them with this commit. References issue
#332→ <<cset 760083fdb789>>
-
reporter Ensuring that charts make full use of the extremes of the colour scale. References issue
#332→ <<cset 13b477b5a8c6>>
-
reporter Enabled radiographic plot of DAP per study description to be displayed with a series per x-ray system. Just the mean plot so far. References issue
#332→ <<cset 53d4b625553c>>
-
reporter Enabled radiographic plot of DAP per study description for median and combined plot of mean and median to be displayed with a series per x-ray system. References issue
#332→ <<cset 5ff6cfee2038>>
-
reporter Fixed typo so that radiographic study DAP works. References issue
#332→ <<cset a28f73517a93>>
-
reporter Added histogram normalisation button to study plot. References issue
#332→ <<cset cd4e9cacff70>>
-
reporter Enabled CT plot of DLP per study description to be displayed with a series per scanner. References issue
#332→ <<cset 93762048c784>>
-
reporter Tidying up; also removed a nested for-loop in the workload calculations that was not required. References issue
#332. Also references issue#217.→ <<cset 8132ec145fba>>
-
reporter Updated ctfiltered.html so that it uses the new sorting routines for the study description DLP chart. References issue
#332→ <<cset 89aa6c771bb1>>
-
reporter Corrected mis-indentation that was preventing radiographic study frequency pie chart from working. References issue
#332→ <<cset 833b623aef32>>
-
reporter Ensured that CTDI and DLP histograms only calculated if required. Moved returnStructure element assigment out of a for loop in two places. References issue
#332. Also references issue#217.→ <<cset cb9bde6604de>>
-
reporter Made calculation of DLP and CTDI histogram data more efficient if they are both required. Also fixed error when assigning median CTDI data to the chart. References issue
#332. Also references#217.→ <<cset 83a9a0b38082>>
-
reporter - changed milestone to 0.7.0
-
reporter Enabled radiographic plots of DAP per acquisition protocol to be displayed with a series per x-ray system. References issue
#332→ <<cset 91d7eb4f355e>>
-
reporter Fixed a typo: changed
Mean
toMedian
. References issue#332→ <<cset 8b6d18ef6c31>>
-
reporter Enbled radiographic plot of kVp per acquisition protocol to be carried out with series per x-ray system. References issue
#332→ <<cset 56552c798556>>
-
reporter Updated a variable name to fix a bug with the over-time plots. References issue
#332→ <<cset e3e2f1365e36>>
-
reporter Updated a variable name to fix a bug with the over-time plots. References issue
#332→ <<cset 438702e8ba4a>>
-
reporter Enabled radiographic chart of mAs to be plotted with a series per x-ray system. References issue
#332→ <<cset df19948a06bc>>
-
reporter Reformatting of some code; replaced multiple items within
if
statements with a single item outside the statements. References issue#332→ <<cset 6335ada5fc1f>>
-
reporter CTDI and DLP per acquisition can now be plotted with a series per CT scanner. Removed the plots that showed DLP and CTDI on the same plot. Also simplified some template code. References issue
#332→ <<cset e4ca2174eee9>>
-
reporter CT acquisition frequency chart is not working at the moment.
-
reporter Fixed CT acquisition pie chart (I think). References issue
#332→ <<cset 900c68f0e45d>>
-
reporter CT acquisition pie chart works. Other CT pie charts currently showing too many items if viewed without the associated DLP chart.
-
reporter Fixing issues with some pie charts. References issue
#332→ <<cset 95f1336346eb>>
-
reporter All pie charts working as expected now. Latest commit on djp demo website.
-
reporter Fixing issues with CT chart of study DLP over time. References issue
#332→ <<cset f5510728416b>>
-
reporter @edmcdonagh, I think that this issue is sorted out now. I'm not going to close it yet so that I can spend a little more time to check. It would be useful if you'd take a look at the djp demo site at some point to see if you can see any problems with the charts. Thanks, David
-
reporter The current chart code in views.py is very memory-inefficient, as there are lots of places where variables are assigned data, and then another variable is set to the value of the first one. Reorganising the code so that only one variable is assigned should reduce the memory footprint.
-
reporter Hmmm. Perhaps my re-assigned variables don't take up any more memory than just having one variable. http://foobarnbaz.com/2012/07/08/understanding-python-variables/
@edmcdonagh, do you know if this is correct?
-
reporter Removed duplicate variables in dx chart calculations in views.py. Also changed variable names to use lower-case. References issue
#332→ <<cset c05c0136370a>>
-
I'd guess so, unless/until the second variable's value is changed, in which case you'd have a new copy in memory.
Just going by the page you linked to though, I don't have any expertise in the area!
-
reporter Removed duplicate variables in ct chart calculations in views.py. Corrected error in CTDI units displayed on the charts. Changed variables to use lower-case. References issue
#332→ <<cset 20dd255dc77c>>
-
reporter Fixing the series colours to ensure the full range is used in all circumstances. References issue
#332→ <<cset ce50d1775068>>
-
reporter Removed filtering in dx_summary_chart_data as it was not needed. Code now mirrors the ct routine. Sort of references issue
#332.→ <<cset 45656c6fc8b9>>
-
reporter Simplified chart data processing by moving most work to functions. These functions are used by both CT and DX charts. References issue
#351and issue#332.→ <<cset ca599113abb7>>
-
reporter Corrected an error in the
if
logic that was preventing CT charts from working when both DLP and CTDI per acquisition protocol are selected. References issue#332→ <<cset ec0df6babebf>>
-
reporter Reduced the indentation for some CT chart calculations as it was not required. References issue
#332.→ <<cset 9d6b6715c794>>
-
reporter Updated series labels of average plots so that
(mean)
or(median)
is added to the series labels when plotting both mean and median values. It's so good to be able to update the code in one place and know that all the charts of this type will be up-to-date with the change (thanks, issue#351). References issue#332and issue#351.→ <<cset 38b9ffa6aebf>>
-
reporter - changed status to resolved
This is now working as I'd like.
-
reporter Corrected mis-indented part of
if
statement when calculating CT request chart data. References issue#332→ <<cset 3e498d9b3605>>
-
reporter Spotted a few missing
distinct()
s in the mAs and kVp plot calculation routines. References issue#332→ <<cset 52b8e1c5d482>>
-
reporter Altered some of the CT plot data to produce data split by system as well as requested procedure name. Unfinished, but a start. References issue
#332.→ <<cset 8c65d4ed385b>>
-
reporter Updated a bit more of the CT request plot code. References issue
#332→ <<cset 25be8202bf9c>>
-
reporter Median DLP for requested procedures now split by scanner. References issue
#332→ <<cset 2e8bdd386a05>>
-
reporter Plot now shows the data as a series per scanner, but I think there is some issue with the data order. References issue
#332→ <<cset 26f54e4698a3>>
-
reporter Added legend and tried to fix order of data. References issue
#332→ <<cset c65d74ee2cad>>
-
reporter Order of data sorted out (no pun intended). At the moment the plot only works if all scanners have some data for every requested procedure type being displayed. Drilldown and sorting do not work at the moment. References issue
#332→ <<cset b340988ee33d>>
-
reporter Drilldown now works in the chart. Labelling of chart series and titles needs to be sorted out. References issue
#332→ <<cset c747a62b67b3>>
-
reporter Drilldown labelling now works properly in the chart. References issue
#332→ <<cset f8023c8e5277>>
-
reporter For each requested procedure, forced all scanners to use the same histogram bins: enables histograms to be plotted together for comparison. References issue
#332→ <<cset 10ee0bf16434>>
-
reporter Ensured that there is an entry for every requested procedure for each scanner, even if some scanners have zero requests for some procedures. References issue
#332→ <<cset 84e3a7b8dcbf>>
-
reporter There was a problem with the drilldown which was preventing all the histograms from being displayed. Fixed this now. I think that the fix may help increase the speed of other charts. References issue
#332→ <<cset 80fd92e2904a>>
-
reporter Tidying up of chart code. References issue
#332→ <<cset 6d5d65587cbd>>
-
reporter Put back line to force categories to be correctly shown on drilldown chart. References issue
#332→ <<cset ec2e481cd382>>
-
reporter The histograms were in a different order to the median values, so there was a mis-match between the main series and the drilldown. It turns out that this is because the python sorting routines sort in a different way to that of the Django database queries. I've fixed it by ordering the requestSummary data to match the database-provided list of names. References issue
#332→ <<cset dfc8a740cc6a>>
-
reporter Removed itemgetter that is not required. References issue
#332→ <<cset 188be60ff1e6>>
-
reporter Plot of DLP per CT request type now working for mean, median and both. Need to fix the sorting routines. References issue
#332→ <<cset a2b2ef54b87b>>
-
reporter Fixed plot of CT request type frequency so that it works with the new data. References issue
#332→ <<cset e2f4da250ed6>>
-
reporter Fixed error when padding data with missing request types. References issue
#332→ <<cset 1e882dae7788>>
-
reporter Fixed the sorting routines. References issue
#332→ <<cset 457f38b8dded>>
-
reporter Changed colours for series - hopefully results in less offensive colours when there are a few series plotted. References issue
#332→ <<cset 1c3bf6c0e26d>>
-
reporter Added new library to help create attractive colour ranges. See http://vis4.net/blog/posts/mastering-multi-hued-color-scales/#more-4101 and https://github.com/gka/chroma.js and https://vis4.net/blog/posts/avoid-equidistant-hsv-colors/. References issue 332
→ <<cset 35e6bfde9806>>
-
reporter Relaced my home-made colour generator with chroma.js for all the CT plots. References issue
#332.→ <<cset 0b0142dd8c2d>>
-
reporter Included display name on tooltip for request plot. Useful now the plot has a series per system. References issue
#332→ <<cset b700023921df>>
-
reporter Added user option to plot a series per system, or to group all systems into one series. Also fixed an error in the colour calculations that was causing a divide by zero when there was only one series. References issue
#332and issue#342.→ <<cset ec745250d1f6>>
-
reporter Added request filter on radiographic page; added display of request name on radiographic page. References issue
#332.→ <<cset 9ee4a8656190>>
-
reporter Preparing for new radiographic plots. Added database fields to user profile and added skeleton code. References issue
#332.→ <<cset daced55176c0>>
-
reporter Added study and request events for radiographic data. References issue
#332.→ <<cset f9db008bd493>>
-
reporter Added code to views.py to calculate data for the new radiographic plots. References issue
#332→ <<cset 76a0d2ea227a>>
-
reporter Added radiographic pie chart of requested procedure name frequency. References issue
#332→ <<cset d1aa217c8214>>
-
reporter Radiographic plots of DAP per requested procedure name added. References issue
#332.→ <<cset 7ff989e685bf>>
-
reporter Radiographic plots of DAP per study description added. References issue
#332.→ <<cset 14cb29620bed>>
-
reporter Added code to CT request charts to ensure that links from individual system histogram points take the user to only that system data. References issue
#332→ <<cset ba5631884512>>
-
reporter Fixed typo that was preventing charts from resizing. References issue
#332→ <<cset f58cc047d147>>
-
reporter Updated radiographic charts to use new colour scheme. Also fixed a couple of errors: put back in some code that should not have been removed. References issue
#332and issue#342→ <<cset 04b29547f7dc>>
-
reporter Radiographic chart of DAP per requested procedure name now has a series per x-ray system. References issue
#332→ <<cset a656380878f0>>
-
reporter Simplified request name variable - was using two. References issue
#332→ <<cset 49bb437fa60c>>
-
reporter Simplified call to radiographic data calculation. Fixed problem with over-time colours. References issue
#332and issue#342→ <<cset 91d34c39b579>>
-
reporter Simplified call to CT data calculation. References issue
#332→ <<cset ec25ad4b4812>>
-
reporter Modified logic for mean and median data calculation for requested radiographic data. Should help to speed things up when plotting per system. Need to implement this for the CT requests too. Investigate whether simplifying the field used for num_req or num_acq or num_stu speeds things up too. References issue
#332→ <<cset acede37050c3>>
-
reporter Improved chart calculation code to avoid unnecessary blocks that won't be needed. Also simplified the field that is used to count how many requests, acquisition, studies have been carried out. References issue
#332→ <<cset 88cfd2d871d6>>
-
reporter Fixed a couple of errors I introduced yesterday that were preventing a couple of radiographic plots from working. References issue
#332→ <<cset efc1c8e69f88>>
-
reporter Added a further couple of optimisations to the chart data calculations. References issue
#332→ <<cset b14bcbacb1da>>
-
reporter Updated all radiographic charts to use the new
anySeriesSort
sorting routine. References issue#332.→ <<cset ce39241a45b9>>
-
reporter Optimised imports in views.py to remove unused imports. References issue
#332.→ <<cset a8fb0b861f2d>>
-
reporter Added the ability to normalise the histogram data. This makes it easier to compare dose distributions from different systems when the number of entries varies greatly between them. References issue
#332→ <<cset 9d386cce06e7>>
-
reporter Updated JavaScript histogram normalisation code so that the histogram plots are updated live, rather than the user having to return to the main series and then drilldown again. Much, much better now. References issue
#332→ <<cset 45c68227a619>>
-
reporter Normalise histograms
button now only visible when viewing histograms. References issue#332→ <<cset 638d40261492>>
-
reporter Accidentally broke some of the plots. Fixing them with this commit. References issue
#332→ <<cset 760083fdb789>>
-
reporter Ensuring that charts make full use of the extremes of the colour scale. References issue
#332→ <<cset 13b477b5a8c6>>
-
reporter nabled radiographic plot of DAP per study description to be displayed with a series per x-ray system. Just the mean plot so far. References issue
#332→ <<cset 53d4b625553c>>
-
reporter nabled radiographic plot of DAP per study description for median and combined plot of mean and median to be displayed with a series per x-ray system. References issue
#332→ <<cset 5ff6cfee2038>>
-
reporter Fixed typo so that radiographic study DAP works. References issue
#332→ <<cset a28f73517a93>>
-
reporter Added histogram normalisation button to study plot. References issue
#332→ <<cset cd4e9cacff70>>
-
reporter Enabled CT plot of DLP per study description to be displayed with a series per scanner. References issue
#332→ <<cset 93762048c784>>
-
reporter Tidying up; also removed a nested for-loop in the workload calculations that was not required. References issue
#332→ <<cset 8132ec145fba>>
-
reporter Updated ctfiltered.html so that it uses the new sorting routines for the study description DLP chart. References issue
#332→ <<cset 89aa6c771bb1>>
-
reporter Corrected mis-indentation that was preventing radiographic study frequency pie chart from working. References issue
#332→ <<cset 833b623aef32>>
-
reporter Ensured that CTDI and DLP histograms only calculated if required. Moved returnStructure element assigment out of a for loop in two places. References issue
#332→ <<cset cb9bde6604de>>
-
reporter Made calculation of DLP and CTDI histogram data more efficient if they are both required. Also fixed error when assigning median CTDI data to the chart. References issue
#332→ <<cset 83a9a0b38082>>
-
reporter Enabled radiographic plots of DAP per acquisition protocol to be displayed with a series per x-ray system. References issue
#332→ <<cset 91d7eb4f355e>>
-
reporter Fixed a typo: changed
Mean
toMedian
. References issue#332→ <<cset 8b6d18ef6c31>>
-
reporter Enbled radiographic plot of kVp per acquisition protocol to be carried out with series per x-ray system. References issue
#332→ <<cset 56552c798556>>
-
reporter Updated a variable name to fix a bug with the over-time plots. References issue
#332→ <<cset e3e2f1365e36>>
-
reporter Updated a variable name to fix a bug with the over-time plots. References issue
#332→ <<cset 438702e8ba4a>>
-
reporter Enabled radiographic chart of mAs to be plotted with a series per x-ray system. References issue
#332→ <<cset df19948a06bc>>
-
reporter Reformatting of some code; replaced multiple items within
if
statements with a single item outside the statements. References issue#332→ <<cset 6335ada5fc1f>>
-
reporter CTDI and DLP per acquisition can now be plotted with a series per CT scanner. Removed the plots that showed DLP and CTDI on the same plot. Also simplified some template code. References issue
#332→ <<cset e4ca2174eee9>>
-
reporter Fixed CT acquisition pie chart (I think). References issue
#332→ <<cset 900c68f0e45d>>
-
reporter Fixing issues with some pie charts. References issue
#332→ <<cset 95f1336346eb>>
-
reporter Fixing issues with some charts of dose over time. References issue
#332→ <<cset f5510728416b>>
-
reporter REmoved duplicate variables in dx chart calculations in views.py. Also changed variable names to use lower-case. References issue
#332→ <<cset c05c0136370a>>
-
reporter Removed duplicate variables in ct chart calculations in views.py. Corrected error in CTDI units displayed on the charts. Changed variables to use lower-case. References issue
#332→ <<cset 20dd255dc77c>>
-
reporter Fixing the series colours to ensure the full range is used in all circumstances. References issue
#332→ <<cset ce50d1775068>>
-
reporter Removed filtering in dx_summary_chart_data as it was not needed. Code now mirrors the ct routine. Sort of references issue
#332.→ <<cset 45656c6fc8b9>>
-
reporter Simplified chart data processing by moving most work to functions. These functions are used by both CT and DX charts. References issue
#351and issue#332.→ <<cset ca599113abb7>>
-
reporter Corrected an error in the
if
logic that was preventing CT charts from working when both DLP and CTDI per acquisition protocol are selected. References issue#332→ <<cset ec0df6babebf>>
-
reporter Reduced the indentation for some CT chart calculations as it was not required. References issue
#332.→ <<cset 9d6b6715c794>>
-
reporter Updated series labels of average plots so that
(mean)
or(median)
is added to the series labels when plotting both mean and median values. It's so good to be able to update the code in one place and know that all the charts of this type will be up-to-date with the change (thanks, issue#351). References issue#332and issue#351.→ <<cset 38b9ffa6aebf>>
-
reporter Corrected mis-indented part of
if
statement when calculating CT request chart data. References issue#332→ <<cset 3e498d9b3605>>
-
reporter Spotted a few missing
distinct()
s in the mAs and kVp plot calculation routines. References issue#332→ <<cset 52b8e1c5d482>>
- Log in to comment
Altered some of the CT plot data to produce data split by system as well as requested procedure name. Unfinished, but a start. References issue
#332.→ <<cset 8c65d4ed385b>>