Previous topic

Module tracesGeneratorPath

Next topic

Module tracesTreatment

This Page

Test the validity of parameters.

Module tracesTestParam

class traces.tracesTestParam.TestValueParam

Provide methods in order to test the value of the parameters.

isGoodFormatSave(**kwargs)
isGoodLoadDirectory(**kwargs)

Check if a directory exist and can be read.

Parameter: dict
A dictionary with a key ‘LoadDirectory’.
isGoodSaveDirectory(**kwargs)

Check if a directory exist or can be create.

Parameter: dict
A dictionary with a key ‘SaveDirectory’.
isGoodComponent(**kwargs)
isGoodJulianDayOfYear(day, year)
isGoodOrderDates(FirstDay, FirstYear, LastDay, LastYear)


Whisper project: FP7 ERC Advanced grant 227507 (WHISPER).
Codes are develop for the Whisper project (Seismic ambient noise).
If you use this code, specify it is provide by: Whisper project FP7 ERC Advanced grant 227507 (WHISPER).
Author: Xavier Briand. For questions, send email to xav.briand.whisper@gmail.com with subject begin exactly with [whisper].