Ticket #68 (closed functionality: worksforme)

Opened 3 years ago

Last modified 3 years ago

add median and mode to stats

Reported by: martin Owned by: martin
Priority: major Milestone: 0.2.1.0
Component: calculation Keywords:
Cc:

Description

Add

  • the median (the middle item) and
  • the mode (the most frequently occurring value)

of shots in a edl file (and per reel?). Use a maximum of one decimal.

See

 http://www.cinemetrics.lv/bordwell.php

and

 http://www.cinemetrics.lv/salt.php

for more information.

Change History

  Changed 3 years ago by martin

This message has 0 attachment(s)

  Changed 3 years ago by martin

Add also median and mode lines to diagram as is done for ASL.

  Changed 3 years ago by martin

  • owner set to martin
  • type changed from user feedback to new functionality
  • component set to calculation
  • milestone set to 0.2.1

  Changed 3 years ago by martin

  • status changed from new to accepted

Added median, see [235] in both xml data, and presented as numbers and in diagram.

follow-ups: ↓ 6 ↓ 7   Changed 3 years ago by martin

Added histogram showing the number of edits of a given size. This is better than calculating the mode of edit shots.

TODO:

change &lt; to less-then-or-equal to, since there may be edits that are overlooked if the length of the edit is exactly 'x' and the bars in the histogram count edits of length >x and <x. Find out what the html/xml-entity for less-than or equal is and put it in:

<xsl:variable name="interval_2" select="count(/edl/edits/edit[record_difference/seconds &gt; (1 * $interval_size) and record_difference/seconds &lt; (2 * $interval_size)])"/>

and in

<xsl:with-param name="x_points" select="concat('&lt;', $interval_size * 1, 

clean up mode diagram code

in reply to: ↑ 5   Changed 3 years ago by martin

Replying to martin:

change &lt; to less-then-or-equal to

Fixed.

in reply to: ↑ 5   Changed 3 years ago by martin

  • status changed from accepted to closed
  • resolution set to worksforme

Replying to martin:

clean up mode diagram code

Well, it looks ok enough.

Sorted out use of colours so that the same charts have the same colours in the the different diagrams. Added some examples to the diagrams. Should review the explanation and colours, and update the user guide. Make new tickets for these tasks.

Note: See TracTickets for help on using tickets.