zlatko-minev/pyEPR

Add `DistributedAnalysis.get_Qsurface` for a single surface

nikosavola opened this issue · 0 comments

Currently, there exists DistributedAnalysis.get_Qsurface_all

def get_Qsurface_all(self, mode, variation, U_E=None):
'''
calculate the contribution to Q of a dielectric layer of dirt on all surfaces
set the dirt thickness and loss tangent in the config file
ref: http://arxiv.org/pdf/1509.01854.pdf

which computes the contribution to Q on all surfaces. I think it would be useful to have a similar function for a single given surface, get_Qsurface. It would then make sense to refactor get_Qsurface_all to call this function with name='AllObjects'.