Closed pgiri4 closed 1 week ago
@pgiri4 this is a huge improvement! Thanks for addressing those big restructuring comments. I left a few small comments, but I think this is just about done.
@pgiri4 thank you so much for your work here, really nice job! Merge away! :)
Hi @pgiri4, thanks for getting this together, it's looking really good and was clearly a lot of work! I think it just needs some restructuring and it will be there. Here are a few broad comments that should help get it most of the way:
useful_event
fromuseful_event = data.get_useful_event()
. These functions only need to do these quality checks for a single event at a time (the event loaded intouseful_event
).timeStamp
you would douseful_event.timeStamp
.useful_event.isCalpulserEvent()
. Corresponding functions can be found here.useful_event
and needs to be supplied in some way by the user, we can add toAraProc/araproc/framework/config_files/analysis_configs.yaml
and ask everyone to add the necessary info. Then you can code it assuming you pull the relevant info from that file. An example of how to do that can be found here.check_daq_quality(useful_event)
which is a wrapper for all the other functions you've written and returns True or False to indicate if all the quality checks have passed.Let us know if you have questions or run into errors implementing any of these, so we can get this turned around quickly.