Resolve "What is the status of OPAL Map?"
Closes #464 (closed)
Merge request reports
Activity
changed milestone to %OPAL 2.4.0
added Add/modify Doc Remarks labels
added 1 commit
- ffe6984c - remove implementation of unfinished methods; apply some coding style; add note to header
mentioned in issue #464 (closed)
19 // Class: MapAnalyser 20 // Organizes the function for a linear map analysis from 21 // ThickTracker. 22 // Transfer map -> tunes, symplecticity and stability 23 // Sigma Matrix -> (not projected) beam emittance 24 // 25 // ------------------------------------------------------------------------ 26 // 27 // $Author: ganz $ 28 // 29 // ------------------------------------------------------------------------ 30 31 // This class is in an unfinished state. 32 // For some dicussion see https://gitlab.psi.ch/OPAL/src/issues/464 33 // Some cleanup was done in https://gitlab.psi.ch/OPAL/src/merge_requests/294 10 34 changed this line in version 2 of the diff
- Resolved by frey_m
- Resolved by frey_m
6 14 #include <array> 7 15 #include <complex> 8 16 9 #include <Ippl.h> 17 // ------------------------------------------------------------------------ 18 // 19 // Class: MapAnalyser 20 // Organizes the function for a linear map analysis from 21 // ThickTracker. 22 // Transfer map -> tunes, symplecticity and stability 23 // Sigma Matrix -> (not projected) beam emittance 24 // 25 // ------------------------------------------------------------------------ 26 // 27 // $Author: ganz $ 28 // Maybe @ext-rogers_c can remind us why he puts a specific STFC copyright with author name(s) in his files? I more or less remember, but he can definitely phrase it more precisely.
Edited by snuverink_j
added 1 commit
- 61b77317 - more coding style; add brief description to top of header
- Resolved by snuverink_j
In case students write the code they need to indicate that they have written it, from that point of view it makes sense. Maybe some collaborators want to add their "flag" to a part of the code. I would not remove authors flags nor make author flags a requirement. So it is up to the individual.
Edited by adelmann@adelmann ok, this makes sense. But then the title of their work should also be added to the brief description in the header. Something like
// Full name of author // Master|PhD thesis // Title of work
@gsell This information is added here: https://gitlab.psi.ch/OPAL/src/wikis/OPALPresentations
@snuverink_j I was brought up to always put owner of the copyright and the license in every file. E.g. recommendation from GPL
https://www.gnu.org/licenses/gpl-howto.html
Give each file the proper copyright notices
Put a license notice in each file.
(edited to correct malformat of quote grumble, markup, grumble)
When I joined the project, I was not aware of there being any specific license beyond PSI "ownership" - so I started using BSD license for my contributions, because I thought it was compatible with "open" and PSI "ownership" i.e. if PSI wants to start selling OPAL due to some PHB logic they still can; but I can't lose access to my contributions.
I don't particularly care beyond:- I don't want to lose access to code I wrote if some PHB takes interest in things; I don't want to cause license problems down the road for others who want to use the code (e.g. not knowing who owns copyright to each file, and then trying to change the license, can be difficult/impossible).
Edited by ext-rogers_c@ext-rogers_c Is the author or the university/institute/lab the holder of the copyright? Like (for H5hut):
Copyright (c) 2006-2016, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy) and the Paul Scherrer Institut (Switzerland). All rights reserved.
Since I'm working for PSI, I assume PSI holds the copyright.
@gsell I don't believe STFC holds copyright. There was no provision in the STFC Terms of Employment for intellectual property last time I looked (admittedly, a while back).
- Resolved by snuverink_j
@snuverink_j @ext-rogers_c Ok, maybe we have to change/extend the file header for OPAL source files according the recommendations in https://www.gnu.org/licenses/gpl-howto.html. What do you think about the following proposal:
// // Brief description // // Copyright (c) YYYY, Notice mentioning University, Institute, Lab or Author // // Optional: related work, e.g. title of PhD or Master thesis // // This file is part of OPAL. // // OPAL is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // You should have received a copy of the GNU General Public License // along with OPAL. If not, see <https://www.gnu.org/licenses/>. //
For PSI employees the copyright notice would be:
// Copyright (c) YYYY1[, YYYY2...], Paul Scherrer Institut, Villigen PSI, Switzerland // All rights reserved.
For a PhD or Master student something like:
// Copyright (c) YYYY1[, YYYY2...], Firstname Lastname, University // All rights reserved
My proposal for the header of the file
MapAnalyser.h
would be something like:// // Class: MapAnalyser // Organizes the function for a linear map analysis from // ThickTracker. // Transfer map -> tunes, symplecticity and stability // Sigma Matrix -> (not projected) beam emittance // // This class is in an unfinished state. // For some dicussion see https://gitlab.psi.ch/OPAL/src/issues/464 // Some cleanup was done in https://gitlab.psi.ch/OPAL/src/merge_requests/294 // // Copyright (c) 2017, Philippe Ganz, ETH Zürich // All rights reserved // // Implemented as part of the Master thesis // "s-based maps from TPS & Lie-Series applied to Proton-Therapy Gantries" // // This file is part of OPAL. // // OPAL is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // You should have received a copy of the GNU General Public License // along with OPAL. If not, see <https://www.gnu.org/licenses/>. //
Edited by gsell