Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency #3

Open
Marston opened this issue Feb 21, 2017 · 3 comments
Open

Dependency #3

Marston opened this issue Feb 21, 2017 · 3 comments

Comments

@Marston
Copy link

Marston commented Feb 21, 2017

Hi,

I would like to try out your library, especially the interpolation and linspace parts.
I would like to link this library to my own project or embed it such that I would not need to link it, i.e., compile it when I build my static library. I was wondering if it was possible to remove the cfitsio dependency?

@astrofrog
Copy link
Owner

@Marston - this code isn't really distributed as a full library, you can just pick and choose files you want. For instance, you should be able to just use lib_array.f90 and put it in your package.

@Marston
Copy link
Author

Marston commented Feb 21, 2017

Fantastic! Thank you very much!
Do you require acknowledgement if this library is used on publish scientific work?

@astrofrog
Copy link
Owner

@Marston - when you copy the file to your library you should keep the original copyright notice and license at the top of the file:

https://github.com/astrofrog/fortranlib/blob/master/src/lib_array.f90#L5

Other than that there is no formal requirement that you acknowledge the use of the library, but of course you are welcome to if you like! (you can just include a link to the repository)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants