This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
For simulations one often needs to read in par/tim files. But on some machines | |
it is hard to install PINT or tempo2/libstempo. And reading in par/tim files is | |
a bit slow, especially when reading in lots of them. Here we allow use of | |
Enterprise with mock pulsar. | |
Generate some mock par files like so: | |
def example_usage(): | |
import mockpulsar, os | |
npsrs = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CholeskyWrapper.h | |
#import <Foundation/Foundation.h> | |
@interface CholeskyWrapper : NSObject | |
- (void)performCholeskyDecompositionWithMatrix:(float *)matrix size:(NSUInteger)size; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# vim: tabstop=4:softtabstop=4:shiftwidth=4:expandtab | |
""" | |
cuda_interpolation: Fast bulk interpolation using numpy, cuda, and cupy | |
author: Rutger van Haasteren | |
email: [email protected] | |
date: March, 2024 |