Menu

#291 Wrapping FaradayRotation interface

next release
closed
None
5
2024-08-08
2024-08-07
No

Hi guys,

It would be nice to add the FaradayRotation interface to python as to perform Faraday rotation to infinite frequency.

It would simply require the two lines in psrchive.i at the appropriate place:

include "Pulsar/FaradayRotation.h"

%include "Pulsar/FaradayRotation.h"

Thanks.
Gregory

Discussion

  • Willem van Straten

    • status: open --> closed
    • assigned_to: Willem van Straten
     
  • Willem van Straten

    Hi Gregory, this is a good idea. I've added the interface that you suggested, and it should now be possible to

    import psrchive
    
    ar = psrchive.Archive_load(filename)
    rotate = psrchive.FaradayRotation()
    rotate.set_reference_wavelength(0.0)
    rotate.execute(ar)
    
     

Log in to post a comment.

MongoDB Logo MongoDB