Closed alsonicr closed 3 years ago
it may be easier for users if functions are labeled homogeneously
so assuming find.rating.segment stays the same, then:
in find_rating_segment.R:
aggregate.rating OK reliability --> get.reliability SDT.raterData --> get.classification raterComparaison--> compare.rating
I found that in a R function the "." is use to creat a method for a class.
What do you think of :
@alecristia I m pretty sure i change function name long ago it seem that some of the merging change it.
I'm going to check every comment you made to be sure
in find_rating_segment.R what does this line mean: " time = seq(range_from-1000, range_to+1000, 1000)" -- does it mean that annotations that do not begin or end within one second of the window will not be discovered? find_rating_segment.R needs more comments, I personally cannot follow all the logic -- for instance, why "tmp$true_onset <- true_onset+1000"?
@alecristia I will add comment on it .
First point : I need a larger time window because I can tell that on its two segments they can be defined as "without annotator". This can be useful for the diff
function in line 140. If the annotations start at the first line then the diff will not notice the annotations.
Second point : This is because of the way diff
works, the difference will be noted from the previous segment before the annotators are identified. So I have to identify the next segment to be correct.
harmonize how the class is referred to, eg ChildRecordings : a ChildRecordings class -- should it be ChildRecordingsData class?
I will say no since the ChildRecordings class do not really contain any data (except for metadata and integrity test). It may confuse childrecordsdata python user too maybe.
any open items in this issue have been exported elsewhere
Here you can write all the potential changes we should provide before the next version is released.